Forum Discussion
MarkMcDonald-58
4 years agoCommunity Member
How do you create a toggle button?
I need to create a toggle button which opens a layer in a corner of the screen. I then want to use the same button to close the layer. How would I make a toggle button? I don't seem to be able to fi...
JudyNollet
4 years agoSuper Hero
Glad to see that Michael jumped in with the toggle-variable solution. With that option, be sure to use a unique variable for each slide. Otherwise, the True/False values could get mixed up.
Other options:
- Put a copy of the button on the layer, and give it a trigger to hide the layer. (If it's in the same position, the user won't know it's a different button.)
or
- Cover the base button. Use a separate button on the layer that specifically indicates it's for closing that content.
- MarkMcDonald-584 years agoCommunity Member
Thanks for the tip, Judy
Related Content
- 3 months ago
- 3 months ago