I have a sprite that I want to toggle visibility by touch.
If it is invisible and you touch it, is should become visible.
If it is visible and you touch it, it should become invisible.
I have:
On tap gesture on sprite AND sprite is NOT visible, set sprite visibility to visible
This works.
But if I add another event:
On tap gesture on sprite AND sprite is visible, set sprite visibility to invisible
Then nothing works at all..
?