User has let go of a button?
How can you tell if a player has let go of a button? Like say one animation was playing when the button was held down, and you want another animation to play once the user has let go of that button?
I tried negating a button press, but that's not the same thing is it?
EDIT: I'm referring to keyboard keys, not in-game buttons :P
Re: User has let go of a button?
Try negating the action "Repeat while key is pressed", that should work :) Or you can use extension like Key Object, if you need to customize it more.
Re: User has let go of a button?
Yes, the Key and Control-X objects have "Key up" type events, but it should be possible to do it with:
X (Negated) Repeat while pressing key [the key]
+ Only one action when event loops
Therefore... perform these actions only once when the user is not pressing the key in question.
Re: User has let go of a button?
Repeat while key not pressed & Only one action on event loop
That should work, just make sure to ignore them at the start of frame.
Re: User has let go of a button?
Thanks so much guys, I appreciate the quick and helpful response :)