Walking Animation With Impassable Objects

How can I have the Player's walking animation continuing when walking into impassable objects. For example, if the player is walking right into a wall, they appear to be walking in place. In other words, I'd like to always have walking animation when pressing the directional keys, but NOT when they aren't being pressed.

Thanks in advance.
Any change like this requires modifications to the engine - that means scripts.


I've moved this thread to Script Request. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/walking-animation-with-impassable-objects.42637/