Enemy projectile not damaging Player

I’m making a shooting game and I have a player that shoots a projectile and I found some code online that allows an enemy to shoot at the player’s (x,y) position. I’m having trouble with getting the enemy projectile to damage the player.

1 Like