Hi, I made a blueprint for turning the head, but Now I wanted to make something happen depending on where I am looking at.

SO I made a blueprint that made the character look to the left when pressed “A”, to the right when pressed “D”, and back when pressed “S”. Now I wanted to make a action happen with “E” when I look to the left of the starting view, and something else happen when I look to the right, and something else happen when I look back.
This is the blueprint:


If you can help, thank you.

I think I understand what you want, but I’m not sure.

Are you saying that if the player presses A and holds A, then while holding A, if they press E an action will occur?

If they let go of A, then they cannot perform an action, even if they press E?

No, when you press A, only press it, you will look at the left, and when looking at the left, I want it to press E to open/close the door.
I am sorry if I was unclear