Player touch vs. action button event activation

Hi all!
I have an issue in a custom menu I try to create, see attached:
1671887290192.png

When the player is on A or C and pushes a key (below hero, action button), something is supposed to happen.

If he touches B (player touch, same level), he moves automatically to A or C depending on the direction the player is facing.
-> B is only to move the character, therefore player touch.

The issue now is, if the player is on A and facing B, pushing the action button triggers B (touch) and not A (action button).

Can anybody follow? 😀 Thanks

btw. merry christmas everyone!
can you give us screenshots of the events A and B (both commands and properties)?

as you said it should not happen this way, so we need more info to guess why it happens.
Screenshots might help, true, but just going by what you’ve said on the problem, I would advise a setup along the lines of this for B:
Screenshot at 2022-12-24 08-54-59.png
How about:

Making B Trigger: Event Touch instead of Player Touch.

When Menu starts, use Set Movementroute Eventcommand, let the Player Turn Left or Right and activate Direction Fix On.

Since the Player can not Face B anymore, the Action Button activation should be fixed.
I did not test this, it is just a big guess.
From my experience with RM2k, "Player Touch" inherits the behavior from "Action Button". In other words, you can trigger a "Player Touch" event in the same way you can trigger an "Action Button" one.
This is useful for doors, for example. The player can stand in front of a door and press the action button to interact with it, or move towards the door instead.

I don't know if it's still the same behavior in MV, but it perfectly matches the issue you're having: the situation is ambiguous and the engine simply chooses to trigger event B instead of A.

You can fix this by moving event B below the player. The only way to interact with an event in front of you, is by putting it on the same level as the player. If the event is above or below the player, the player must stand on the same tile to trigger the event.
First of all: Sorry, I have been sick (yay merry christmas...). In short: All of your solutions are right. I tested all of them.
From my experience with RM2k, "Player Touch" inherits the behavior from "Action Button". In other words, you can trigger a "Player Touch" event in the same way you can trigger an "Action Button" one.
-> 100% correct on MV as well and lead me to the main issue. I didn't know of that mechanic but once you know... you can fix it 🙂 I did so by allowing to step on B with the regional restriction plugin that I use anyways and made a below hero player touch event.

Thanks all!

Original thread: https://forums.rpgmakerweb.com/threads/player-touch-vs-action-button-event-activation.153490/