How to hold changes made to a scene on reload


#1

In a scene I use jQuery to show an outline of a button to indicate it has been clicked. That button also jumps to scene 2. When the user jumps back to scene 1, I lose the outline. How can I keep that change that was made so that when the user goes back to scene 1 the button still shows that it has been clicked?


#2

You could make that button a Persistent Symbol which would allow you to assign it the same element ID across all your scenes: https://tumult.com/hype/documentation/3.0/#persistent-symbols


#3

Perfect! Thank you, Daniel!