Count clicks and display layers based on result.

May 06, 2016

Please see the attached file. In scene 1, I have a variable called "counter". It counts the clicks on buttons on slides 1.2 to 1.7.

On slide 1.8, if the counter value is <=2 I want "good job" layer to show and if counter value is >2 I want "bad job" layer to show.

I see that counter is counting clicks, but not showing the necessary layers in slide 1.8.

Please help me.

3 Replies
Lance Treloar

Hi Hima

A couple of adjustments and the interaction seems to be working now:

1 - set the triggers on 1.8 to show layer when timeline starts rather when the variable changes.  This ensures the change happens when the slide loads.

2 - changed the order of the triggers on 1.2 - 1.7 - triggers work top down; you had the user leaving the slide before the counter was changed. Now the counter is increased before leaving the slide.


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