How can i detect hits from enemies inside of a player?

I want to detect all enemy attacks from the player itself. So i created trigger collider at the top of normal one, and set second OnTriggerEnter2D (first one is for attacking)

But with this method come problems. I can just bump into an enemy and it’ll get hurt, both triggers will sometimes work together and cause unintended results, and finally it just seems like a very clunky and stupid method of doing this. Is any other ways to do this?

Hello, i can help you but you need to be more specific of what effect you are trying to create!