Forum Discussion
BertSnow
3 years agoCommunity Member
Can't toggle a single button between states?
I'm trying to set up a single button that toggles between "unclicked" and "clicked" states, or changes a "ButtonClicked" variable between true and false, but can't seem to do it.
It seems like whe...
JudyNollet
3 years agoSuper Hero
As Walt said, it's best to upload a .story file for troubleshooting. (And, when you want to show how something looks when published, it's best to publish it to Review and provide the link.)
Based on your description, I'd say the button is working as expected. When you jump to a slide for the first time, it starts from scratch (that is, the equivalent of "Reset to initial state"). So the button is reverted to its initial state, which is Normal.
Since you want the button on the Master, you need to handle it a bit differently, as shown in the attached demo.
- Button trigger toggles the T/F variable (as described in my original comment).
- Another trigger on the Master changes the state of the button to Selected when the timeline starts, with the condition that the variable = True. This keeps the Selected button in that state when the user jumps to a new slide.
Related Content
- 7 months ago
- 11 months ago
- 11 months ago