• 2D
  • How can i make a collsion active in a specifc frame of Animated Sprite node?

Hi.

I want to make the collision of my attack only to only active in a specific frame of the animation (frame 5) but, i don't know how to make the code for it.

Someone can i help with it?

I Have the attack animation animation working, but the creatures die before the sword animation slice the creature.

You can call functions in the animation itself. So the collision shape enable should be on the timeline at a particular frame you want to enable it on (and make sure to disable it too after it's finished).