[Solved] help for sprite problem

hi guys, i’m new. I added to my sprite the function of shooting by pressing the z key. As soon as I press the z key the sprite falls off the platform. Can you help me please ? Thank you

Can you provide a screen snip of the events?

can i attach my json file?

What does the shoot animation look like? Does it have a hitbox defined? To see the hitbox, open the sprite in the editor, click on edit collision masks. Then, select the shoot animation from the drop down list of animations, select shoot, and check the toggles are set to yes/true/on :


1 Like

this is great, now it works. I am self-taught and I have only seen videos on you tube. I had never seen this explained. Thanks so much