How to use the same click target to toggle something on/off
Hi there! I’ve created a lamp that I want a user to click on to switch it on, and click again to switch off. So the first click will switch it on and play an animation, then the next click in the same target area will switch it off and play another animation. I’m sure it’s straight forward, but I am struggling to figure out how to do this.
Thanks in advance! 🙂