I'm having a hero being swarmed by enemies, and to deal damage you need to be facing the enemy (4 images, one for each direction). Basically, if you're facing left and an enemy hits you from behind, but if you are facing the way the enemy hits you then the enemy dies. I'm new to coding and from what it sounds like, this is the command that I want to use. Any help would be appreciated.

