Need help with setting up a blueprint

I am working on a small project that is kind of like Luigi’s Mansion where you suck up ghost with a vacuum and. I am kind of having trouble with setting it up I want the ghost to take damage in the opposite direction from the player. Like if the ghost is trying to escape by going to the left the player will have to go to the right to have the ghost to take damage how can I set this up?