Ok, I got it, I should use this code
Quote:
def onmouse(button):
client = viz.cluster.getClient()
print 'Mouse pressed on client',client,'the button',button
viz.callback(viz.MOUSEDOWN_EVENT,onmouse,viz.ALLCL IENTS)
|
But next problem is, how can I pick an object in clientX? For master or client1 works, but for others clients not. Any idea why?