Right clik left click

Hi ,

How can i know if the user click with the right clik or the left clik on an element?


The information is on the InputEvent class.

If you are implementing a GraphObject.click event handler, that is always the primary button; GraphObject.contextClick would be the secondary one.

Ok , i will go to implement it .

Thanks Walter