How can I verify a player's coordinates in a conditional branch?

Hi, I'd like to create an event that, when the player is on it and looking in a certain direction, displays an icon, then waits for the player to press an action key to display text.

First condition: I want the event to disappear once the text is displayed and cannot be repeated.

Second condition: I want the icon to disappear if the player is no longer facing the desired direction when they are on the event.

(It's basically the interactive object system from Tcoaal, but I can't seem to replicate it.)

Any ideas ?
Put it on player touch, there a conditional
IF player is facing direction -> self switch A on

Then the second page with self switch A condition has the icon graphic and is parallel and has conditionals
IF script $gamePlayer.isMoving() -> self switch A off
IF button ok is being pressed -> show text + self switch B on

Then the third page with self switch B condition is empty

(You can use that moving check, since you can't normally turn in place. If for some reason you can, you need a different check I think.)
thanks but it doesn't work like i want, here is an example of what i want exactly, is it possible ?
Well get a plugin that shows icons on top of player/events (like VS Events and Move Core) and then have the 1st page activate the icon if the player is facing the correct direction [edit: unnecessary since the next page does it anyway, but whatever] + self switch. Then in the second page you make a conditional IF player is facing the correct direction turn icon on ELSE turn icon off. After that the action button check and then the isMoving [edit: isMoving can also turn the icon off] check like above.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-verify-a-players-coordinates-in-a-conditional-branch.182309/