Change State based on Variables
Apr 29, 2024
I have a custom menu slide with three buttons inserted that are given a visited state. There is a trigger for each button to jump to specific slides when the user clicks on it. I created true/false variables for each slide to turn to true when the user clicks the next button that appears at the end of each. After each one changes to true, there is a second trigger to take them back to the menu, in that order.
On the main menu, my trigger is to "set the state of *button* to visited when the timeline starts on this slide IF the assigned variable = True." Yet, the state is not changing.
I would like to add when I click on each button the visited state appears quickly before going to the slide but then doesn't remain when it's returned. If my trigger is to have it change to visited when a variable changes, why is it changing when clicked but not remaining when the variable has changed?
3 Replies
Visited is a built-in state. That means it comes with built-in functionality. A button with a Normal and a Visited state will automatically change to Visited when it is clicked. Triggers that try to override or duplicate that functionality often cause problems.
Hey Alicia,
Can you share your story?