Forum Discussion
Enable next button after SOME layers are visited.
I have five layers and my client wants the Next button to become active after only two of the layers are visited (the user can visit as many layers as they want, but they must visit at least two of them). What does this trigger(s) look like?
- Trigger: change the state of next button to disabled when timeline of slide starts
- Create a number variable to count clicks
- Trigger on each layer: add +1 to number variable when timeline of layer starts
- Trigger: change the state of the next button to normal when var = 2
Something to that effect
- WaltHamiltonSuper Hero
Tom is right, of course, but I prefer step 3 to be set at the end, rather than the beginning. That prevents the learner from opening the layer, closing it without doing whatever it requires, and still getting credit. Attach that trigger to whatever action hides the layer or returns to the base.
- DanFelice-907abCommunity Member
Your layer needs a trigger to adjust var add 1 when timeline starts/ends (depending on what you do)
I created a quick tutorial and attached a file
https://360.articulate.com/review/content/23a072d7-7403-4413-9c19-95693a597b10/review
- DanFelice-907abCommunity Member
Tom, It worked like a charm! Thank you so much for taking the time to create a .story file and a tutorial - those really helped a lot. I never would have thought to trigger each click. Variables are still a hurdle for me - I have yet to break through. :)
Glad to hear that Tom's tutorial and project file were helpful, Dan! 🎉
In case you haven't come across this yet, I'd love to pass along one of our On-Demand Webinars that helps users get comfortable with variables! Hope that it helps you break the ice trying this feature out!
Here's the webinar link below:
Getting Started with Variables in Storyline 360
If any other questions come up please feel free to reach out in this thread or in the E-Learning Heroes Community! We're happy to assist!
Have a great day and happy developing! :)