Using the « click outside » feature

Feb 04, 2020

Hi!

I want to set this :

Change state of «object » when user clicks outise TWICE.

I cannot figure out how to tell the system the « twice » variable. Please help!

Thanks

3 Replies
Ned Whiteley

Hi Sofia,

In the attached example I have used a variable (ClickCount), which increases by one each time the user clicks outside the rectangle provided the rectangle has already been visited. A trigger then advances to the next slide when the user clicks outside the rectangle provided ClickCount is equal to 2.

I have set up a button on the second slide so that you can return to the first slide and repeat the process. Two other triggers on the first slide set the ClickCount variable back to zero and the state of the rectangle back to Normal when the timeline starts so that the slide is reset if the user revisits it.

A double-click on the mouse button will also advance the slide as this counts as two clicks.

Hope this helps.

This discussion is closed. You can start a new discussion or contact Articulate Support.