Forum Discussion
Number variables for checking button clicks/ visiting layers
- 3 months ago
Because the user is visiting layers (and not different slides) when they click the buttons, you could simply enable the NEXT button when the STATE of all the buttons = Visited.
Keep in mind that the NEXT button would be enabled as soon as the last button is clicked. Thus, if the layer has audio or video, the user could skip it. One way to prevent that is to use Dialog layers, because those cover the Player. Otherwise, you could use an alternate method to enable the NEXT button when the layer timelines are all completed.
You'll also want to add a condition to the trigger that disables NEXT when the timeline starts, because you don't want that to run if the user revisits the slide after completing the interaction.
Here's more info: https://community.articulate.com/discussions/articulate-storyline/tip-controlling-the-next-button-101
Because the user is visiting layers (and not different slides) when they click the buttons, you could simply enable the NEXT button when the STATE of all the buttons = Visited.
Keep in mind that the NEXT button would be enabled as soon as the last button is clicked. Thus, if the layer has audio or video, the user could skip it. One way to prevent that is to use Dialog layers, because those cover the Player. Otherwise, you could use an alternate method to enable the NEXT button when the layer timelines are all completed.
You'll also want to add a condition to the trigger that disables NEXT when the timeline starts, because you don't want that to run if the user revisits the slide after completing the interaction.
Here's more info: https://community.articulate.com/discussions/articulate-storyline/tip-controlling-the-next-button-101