Repeating a check for player facing up

Hi everyone,

What is the most effective way for performing a check to see if the player is a) in a certain location and b) facing a certain direction?

I am trying to have a player face an event, and make a thought balloon appear above their head by standing on the event immediately in front of it and executing some commands. The event which creates the thought bubble animation checks if the player is facing UP, and does so in a loop - but because this infinitely loops it prevents the player from moving anywhere if they're not facing up.

Parallel process seems to be the answer here, but that would require the parallel process to know where the player is standing.
Well, you could check the x and y of the player and store those in a variable, then see if those variables equal other variables, who are equal to the x and y you want the player to be on.

However - and I'm not sure what exactly you are doing - but if the event the player needs to face is only accessible from one direction, I think you could set a first page of that event to player touch, then run the thought bubble there, turn on a self-switch to go to a second page to do whatever you want.
Ah, I see. And yes, it is one direction. So how would I test the current player's location against variables?

I understand the concept of checking a stored RegionID against variables, but I only seem to be able to give the tag a direct designation or a designation with variables?

Original thread: https://forums.rpgmakerweb.com/threads/repeating-a-check-for-player-facing-up.79580/