Detecting touch released outside of the actor
I am tring to change a boolean attribute to true when an actor is pressed and false when released.
So far so straight forward. This actor, and others on the screen, rotate to my finger touch point as I move it around the screen (an aiming device), now obviously when I release the touch outside of the actor it doesn't register the release and therefore the attribute doesn't change to false.
I'm guessing this is going to be one of those forehead slapping answers, but please put me out of my misery anyway!
Thanks in advance.
Chris
So far so straight forward. This actor, and others on the screen, rotate to my finger touch point as I move it around the screen (an aiming device), now obviously when I release the touch outside of the actor it doesn't register the release and therefore the attribute doesn't change to false.
I'm guessing this is going to be one of those forehead slapping answers, but please put me out of my misery anyway!
Thanks in advance.
Chris
Comments
When Mouse button is up
--Change Attribute to False
Thanks tenrdrmer