I wrote what seemed a straightforward solution to toggle a sprite's appearance.
A mouse double click on the sprite, with an additional condition that the animation frame of said sprite is zero, sets the animation frame to 1, and another double click event with the condition that the animation frame is set to 1, sets it to 0.
However, for some reason both both are executed at a single loop, causing no toggle behavior.
Its as if the double click is remembers between the event checks.
What I really, want is to have N number of created sprites and double clicking on one, selects it with a frame, and de-selects all others.
But, i am stumped ...