How to make simple attacking in paper 2d?

So I followed the basic tutorial for setting up my own “metroidvania/megaman” styled game, and I’ve got an animation that shoots a simple projectile and I was trying to use it to make something similar but not a moving projectile for attacking. This is my code for shooting the projectile. I would appreciate it if anyone could help me figure this out.

I was basically gonna change this code around so I can use this one for basic attacking. right now i have 2 copies of the same code, one for projectiles (working), and one for basic attacks (not working).

never mind figured this out with collision detection box on the player character hitting the enemy. if anyone could help me with this that would be awesome.

What is this: http://prnt.sc/az4kha labeled as in the menu used to add blueprint components? I’ve been having trouble finding it. If the link spooks you here’s a description: one Exec pin on each side with one cyan pin on each side called “State”, there are two instances of these on the pic.