Hit Animation Help

I have 2 animations in my enemy. 0 for the movement and 1 for the animation when it hits the player bullet.


This is what I’ve done and it’s not working. I want to change back again the animation to 0 when the animation 1 is finished.

In the last event add
set variable "Hit" of "Slime' to 0
, This might help. Try it

1 Like

Have you set the animation set not to loop?

1 Like

I fixed it now. The problem is that my sprite have only one frame (I don’t know the right term) that’s why it’s now working so I added one more frame to make it an animation and it’s now work perfectly. My bad lol.

1 Like