Forum Discussion

AliciaHiltner's avatar
AliciaHiltner
Community Member
7 months ago

Change State based on Variables

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?