The trap animations are in a separate folder "projectile and trap" in the png files, and you can use it like a projectile, or set it to go off when the enemy steps on it, or after a few seconds, etc. You can use it as a different object from the main character, so the animation is separated.