How can I make an on/off switch? I want it to be so whenever sprite is on top of/touching color, on/off changes. If on, it turns off, and if off, it turns on. This is easy enough to do, but my problem is that it will endlessly switch until the sprite is not touching the color. Help?
Offline
Do:
If touching color (color
Switch (switch) to 1
else
Switch (Switch) to 0
I hope that helps
Offline
As far as I understand, this should fix the problem:
Where off=0, on=1
Offline