Jumping to the next slide after the user has seen the layer

Feb 11, 2015

I want a layer to show up when the user clicks the next button before jumping to the next slide. I've created a trigger for that and it works. But when the user has seen the layer, I want the user to jump to the next slide when he clicks te next button. How could I make this?

3 Replies
Christophe Jacobs

Hi Annemijn,

What you need is a variable to check if someone opened the layer and that is taken into account as a condition to go to the next layer or not.

Step 1: Create the variable

In our case we want to check if someone opened the layer or not, so let's call it 'Viewedlayer'. We set it to false by default. When you start the course, the layer obviously is not opened.

Step 2: Create the 2 conditional triggers that check the value of the variable

Because Storyline is awesome, we can change the triggers on the player buttons. So for our next button we have 2 conditional triggers. One that opens the layer when the value of our newly created variable is FALSE. And one that goes to the next slide when our variable is TRUE.

Step 3: Change the value of the variable when you open the layer

Now you need to tell Storyline to change the value of the variable to TRUE when you opened the layer. You can do this when the timeline of the layer starts. You need to create this trigger on the layer (and not on the base layer).

To see it in a working project, open the attachment.

Good luck experimenting with variables!

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