Select Choices with Mouse Only

So, I am doing a Visual Novel game. I've been playing a lot of VNs during the quarentine period and, a thing that i noticed is that in most of them the player can only select the choices with the mouse, meaning you cannot use the space button (the OK button) to do it. I think that's pretty good, since there are players that keep pressing the space button to rapidly pass the dialog when you cannot use the Skip function and it would be a shame for them if they accidentally select a choice they didn't want.

What I want is to do the same in RPG Maker: disable the use of the OK button to select the choices and use only de Left Mouse Button. I want to know if there is a way to do it or a plugin that does it. Thank you.
If you go into the rpg_core.js you'll find the keyMapper. i think you might be able to just comment out the ok key handling.

edit: actually, that will prevent you from using the enter / space key anywhere, which might be inconvenient.
Code:
Window_ChoiceList.prototype.isOkTriggered = function() {return false;};
For best compatibility place the plugin file below any other plugins that modify "Window_ChoiceList"
Works well for me. Let me know how it goes. :popcorn:

More info:
To toggle on/off with a Game Switch 😉
Spoiler
Code:
Window_ChoiceList.prototype.isOkTriggered = function() {return $gameSwitches.value(1);};
Replace 1 with the ID you want to use.
Code:
Window_ChoiceList.prototype.isOkTriggered = function() {return false;};
For best compatibility place the plugin file below any other plugins that modify "Window_ChoiceList"
Works well for me. Let me know how it goes. :popcorn:

More info:
To toggle on/off with a Game Switch 😉
Spoiler
Code:
Window_ChoiceList.prototype.isOkTriggered = function() {return $gameSwitches.value(1);};
Replace 1 with the ID you want to use.

It worked! Thank you!
And thank you all for the fast reply. You guys are awesome. <3
It worked! Thank you!
And thank you all for the fast reply. You guys are awesome. <3
Woo! Glad to hear it. No prob. Happy to help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/select-choices-with-mouse-only.119978/