Clicked and DoubleClicked trigger

I have a image that have a Clicked and DoubleClicked trigger. But if I click two times inside the image the code execute both triggers. I need if I click two times fast only activate the DoubleClicked trigger not the Clicked.

Is posible to do this?


No, if you have a Clicked and a DoubleClicked trigger the Clicked trigger will always activate first. There have been some APIs that experiment with omitting the Clicked trigger, but this requires a delay on Clicked activation, which leads to poor user response.

The general UX approach to double-clicking is that the single click action should be compatible with the double click action, so that they can follow in sequence and still behave as the user wants. This is also important since a user may sometimes fail to double click fast enough and we don’t want to punish them for that.