Distinguishing between single and double-clicks on a hotspot

Is there a way to distinguish between a single and double click on a hotspot, if there are triggers for both types of click on the hotspot?

It seems that the moment the first click of a double click is made, the single-click trigger will be executed. There's no way to trigger a double-click event if there's a single click event on the same hotspot.

 

4 Replies
Daniel Sposato (Philly)

Not sure what version of SL your using but I'm using 2 and using a double click is as easy as using a single. Just change the "when" to "User double clicks".

I'm not sure if you can distinguish between the press or the release to trigger either the single or double click. Flash used to allow you to do that.... I miss using Flash.

Andrew Dunn

Hi Daniel

I'm using SL2 as well. Imagine this scenario - I have a single hotspot. If the user single-click I want to display a layer, while if they double-click I want to display a different layer. On both layers I want to disable clicking on the base layer. In this scenario, you can never see the double-click layer because the single click trigger is activate the moment the learner clicks once.

Daniel Sposato (Philly)

This is possible with the use of Slide Layers! I made an example.

I used a slide layer, a variable and a few triggers. I also had to use 1 invisible shape and a hot spot. 2 hot spots won't work because you can't hide a hot spot.

Check it out and let me know if it works for you.