Hi guys,
I am trying to create a button that toggles between two states, that does on thing on the first press, and "un-does it" on the second press. Would anyone like to point me in the right direction? Ive thought of maybe creating a counter that tracks the clicks and then basing an action on whether the count is odd or even, but there has to be an easier and better way then that im sure? thanks!
I am trying to create a button that toggles between two states, that does on thing on the first press, and "un-does it" on the second press. Would anyone like to point me in the right direction? Ive thought of maybe creating a counter that tracks the clicks and then basing an action on whether the count is odd or even, but there has to be an easier and better way then that im sure? thanks!