Check if the overlapped Component is Hitbox from Player

Hello, I am doing an FPS for school and in my FPS I have little cubes chasing the player. If they overlap the Hitbox of my player they are supposed to deal damage. I am using Apply Damage and Event AnyDamage for that but I don’t want the cubes damaging each other. How can I check if the Target of Apply Damage is the Player or the overlapped Component is the Hitbox ?

On overlap cast to your player, only send damage if it’s your player.

I also use tag names to specify the actor roles, then I loop through a string comparison (not optimal though).

An FPS for school? What school is this, may I ask?