[quote]Set the animation according to a key pressed - LINK[/quote]Allows to change animations on keyboard input, but you can use the action of changing the animation and use it after any kind of event.