This may be a silly question but I've never been able to figure out a quick and effective way to do this:
Let's say I want to toggle a sprite from visible/invisible with a single button press. How do I accomplish this, preferably without flags or values, in simple and clean way?
What I usually start with is something like this:
Button is pressed
-Sprite is visible -> set invisible
-Sprite is invisible -> set visible
I understand why it doesn't work as I want it to and why the bottom child event is what we end up with, but sure would be nice if it did sometimes :D