jumping while moving

hey gang!

so im creating an obstacle course for my player, and part of that includes a few fences to hop over.

i placed a event in front of the fence, set below characters with an action button trigger. im using set movement route command to jump, and it works fine as long as my player is stationary. however if they are moving towards the obstacle, they must stop moving before the jump is allowed. is there a way around this? thank you!
It's an issue with it being unable to trigger while the player's coordinates are changing (if you use the mouse, you can see that it seamlessly moves and jumps, because the player's coordinates are set to the trigger location). You can change the trigger to player touch, or you can use a jump button plugin. I don't see another way around it, but maybe someone else will.
Maybe it would work if you had a parallel process running that was always checking for the Ok button press. When it detected this press, you could set a switch. Then have your event where the jump needs to happen fire a player touch trigger which checks to see if this switch has been turned on and if so, make the jump. If not, crash.

The only other thing you should need to do is set a parallel common event that starts when the switch turns on. All it needs to do is wait for a second (you'll have to play around with the timing) and then turn the switch back off so that if they press too early, they don't make the jump either.

Original thread: https://forums.rpgmakerweb.com/threads/jumping-while-moving.89624/