SharonPlunk-1f3
4 years agoCommunity Member
Button Set State/Variable Issue
Good day. I have a slide with 5 buttons that I can't seem to get the variable to work correctly. Here is what I would like it to do:
- User clicks button #1, the layer shows and then hides at the end of the timeline. This triggers button #2 to change to a normal state. Button #1 goes to a "watched" state.
- User clicks button #2, and it works the same as #1 but triggers button #3 to a normal state and so forth.
- If the user clicks on any of the previously watched layers, the next button in line does NOT go to a normal state but rather stays in a "watched" state (if already in this state).
- I've created a variable that the button is changed to "True" when the user clicks the button.
- Finally, I have a trigger on each button that changes the state of the button to "normal" from the default disabled state only if the watched variable is a value of False.
It works perfectly for button #1 and #2 but after that, the state of #3 stays disabled. I've doubled checked the variable and trigger and everything is the same as #2 so I'm stumped as to what the problem is or I'm crossed-eyed and don't see it. I've attached a sample file so you can view my mess.
Any help from the community is greatly appreciated. Thank you.