Double click

Hi!



I’m having some problems with the mouse. The question is: How do I make and handle double click events with the mouse?

For example: I have the objects in the scene. Then, with a double click in one object, I show the object’s location.



Thanks!



ren.

Try Keeping track of the time since the last click. If the time is less then the double click time then there is a double click.