Last Key Pressed(MZ)

Is there a way to determine the last key pressed somewhere in a function? Or perhaps, which direction my player character is currently facing?
you can only detect a key that is currently pressed, although you could write a function that stores that info into a variable to be checked later.

and player facing is part of the conditional branch event command
Have you explored the options available on the other pages of the Conditional Branch Event Command?

Conditional Options.png

Ninja'd by Andar.

Original thread: https://forums.rpgmakerweb.com/threads/last-key-pressed-mz.170577/