Forum Discussion

DeepikaBatra-1a's avatar
DeepikaBatra-1a
Community Member
4 months ago

Number variables for checking button clicks/ visiting layers

Hi, I am trying out a number variable (default value 0) and adding 1 to the variable when the user clicks the button to ensure all the buttons (4) are clicked before moving on. Also the next button ...
  • JudyNollet's avatar
    4 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