Cancel player movement input?

Heyho,

does anyone know whether there is a way to cancel all player movement input?

I want the player to lie down on a bed or sit on a chair and get up with Enter.
(If somebody has an easier solution - that's also fine, i'll take it.)

I found nothing about it, but maybe i searched for the wrong things...

TIA

theNathan
You can create a common event that is triggered when you press a button. these plugins might help as well.
http://yanfly.moe/2016/01/23/yep-061-button-common-events/
http://yanfly.moe/2016/03/06/yep-80-keyboard-config/
I don't think this would solve the problem...

Every bed has two textures. One with and one without the player. When the player interacts with the bed, i temporarily delete his charactersprite and change the bed texture. But the invisible player can still move around and that's the problem.
I think you can use an Autorun event that checks for button presses and turns itself off when the OK button is pressed. Can't check right now, but I'm quite sure it did it that way somewhere.

Alternatively, you can display an empty message box with a transparent background at the bottom of the screen, that will also disable all movement. But since it's a message, it will show the arrow that tells the player to press OK to continue, which might be distracting.
Aaah! Yes, i see!

Thanks alot, that worked 😀

Original thread: https://forums.rpgmakerweb.com/threads/cancel-player-movement-input.81560/