How to make projectile shoot enemies

I want my character to chuck swords. I have that down but I can’t get the sword to kill enemies.

Here is the link to my game.
https://flowlab.io/game/play/1090752

In the wonder devil’s behaviors, use the collision trigger and set it to the sword. Then make the output a destroyer behavior.

Thanks