Player falls when does animation

my player falls of the screen when it does animation how to fix

Im making a game and i gave my player a punch animation but whenever i press the key i set for the animation my player falls of the screen

Pls help

Please show us your events so we can help debug.

1 Like

Check your collision masks of your player and make sure they’re consistent for different animations. You might have a certain animation and/or frame in which you have no collision mask or one that is very different from the ones which work the way you intend them to. If the player is falling off the screen, that tells me it is most likely that during the punch animation, a collision mask of the player is off.

1 Like

Hey Thanks It Works.

1 Like