Undo button active state
Hi, I wanted to make a button change color when clicked and remain in that color.
That worked perfectly with the code
upState=over.State
However, I now want to "undo" this when another button is clicked.
(The buttons should only remain in the "changed" color for a certain number of frames.
So every time a button is clicked, only the button that was just recently clicked will be in the changed color.
Is there an efficient way to solve this?
Thanks!
