This is an example. Lets say when clicked I want the sprite to be on frame 1, but when not clicked I want the sprite to be on frame 2. How would I do that?
"On click" is a trigger, it can't be inverted. You can use two conditions:
Mouse Cursor over object + Mouse left button is down -> Set frame 1
Else -> Set frame 2
my method
Develop games in your browser. Powerful, performant & highly capable.
dop2000 , NICE EXAMPLE