Forum Discussion
Triggers for object states and the next button aren't working
It's a custom variable, so feel free to name it whatever you prefer to provide some context. I've utilized it to manage the state of the Next button when the timeline starts on this slide. The Next button remains disabled whenever you revisit this slide, as long as the 'allVisited' variable retains the value of false. If it's not false, the Next button transitions to its normal state. Once we've marked all rectangles as visited, we set this variable to true, indicating that the condition which previously kept the Next button disabled upon returning to the slide is no longer met.
Your trigger for changing the Next button's state when all rectangles are visited would function optimally if your content were situated on three distinct layers instead of three separate slides. In the scenario where you navigate to another slide by clicking any rectangle and subsequently return to the initial slide, the Next button would persist in a disabled state when the timeline starts because there was no any other condition to modify its state.
Hello again!
This worked really well for the first scene I applied it to, but it does not work anywhere else in the course. Do I need to create a version of the "allVisited" variable for each section, or does it persist across the course?
Thank you!