MV How to stop input.keymapper.

Hello everyone! I've started using the Input.keyMapper script for stuff such as menus using the arrow keys. I was wondering if there is a way that when a choice box appears, the input.keymapper gets deleted. Any help is appreciated. Thanks!
What exactly do you mean by "deleted"? You can of course literally delete its contents by setting it to undefined, which will probably crash the game immediately because of how many things rely on its existence.

What effect are you trying to achieve?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-stop-input-keymapper.166067/