Revert state of object back to original state, with a click


I have a button (Text Box 1) which says "Click to Reveal" and after clicking, the button changes to another state, the Answer state, with the answer.

However, I would like the user to be able to click the button again to have it change back to the "Click to Reveal" state. It doesn't seem to be working for me. So far, I've tried placing a trigger with a condition, which reads: Change state of Text Box 1 to "Click to Reveal" when user clicks, IF state of Text Box 1 = Answer.  Is my logic wrong here?, or would the order of the triggers have anything to do with it? The first trigger I use is: Change state of Text Box 1 to Answer when User clicks.  

Thanks everyone! 



2 Replies
Adrian Dean

Edited this. The link directly below these words contain examples of changing object states and having them revert back to the original state.

Hi Ishan,

This might help provide some insight. Watch the second screenr video in particular.

It's not an exact answer to your problem, but it should move you forward and hopefully to solving your issue.

Hope it helps,


Ishan Thakore

Hi Adrian, 

Sorry for not getting back to you sooner! I checked out the videos and did end up getting the button to work (I used two different layers just like the 2nd screenr). I'm still not quite sure why my original equation doesn't work, but I'm glad I got the objects to behave how I intended. 

Thanks for the suggestions!