Conditional branch depending on the direction you enter question.

Hello,

I'm fairly new to RPGmaker, and running into an issue. I searched the forum for a solution for a while, but couldnt find it.

So I created this set-up with double vertical stairs leading to a second platform into the third stairs. For movement I added region where you move vertical, depending on what key you got pressed when you entered the tile, like shown in the spoiler. Landing on the next region doesnt trigger it, so over the whole stairs you move up or down once, just depending on where you started.

Spoiler
Stairs.png

I created a simple common event where you move diagonal depending on your key press:

Spoiler
Commen event.PNG

It works fine as long as I use the keyboard, but not if I use the mouse (which I personally always use in these type of games). So I was wondering is there a way to chance this to work with general movement (so instead of button right it would be enter from right side) or if not if there's just a completely another way for my character to move vertical over the stairs, taking into account its a very wide stair (4 wide 1 up).

Thanks in advance.
Maybe using the option in Conditional branch "Player is facing..." (tab 3). That way it wouldn't matter how they got there.
Yep that worked. thanks. Completely oversaw that option

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-depending-on-the-direction-you-enter-question.110690/