This is probably really easy... but i cant get it to work. Here's what I need:
So when the player dies he plays an animation of him dying. My problem is when you press left or right my character gets up and starts running around. How can i disable keyboard input?