Temporary disable cancel key in Choice events?

I'm trying to figure out how I can temporary disable the cancel key (X, etc) for an event. I have two choices and the cancel key I think is just in the way. Once it is pressed it uses the second option, and if there isnt a second option, it breaks the game due to the autoplay taking place. So can I remove cancel key completely for that event alone?

Also being able to turn the key back on after the event would help.
 

Thank you 😉
Why not just change the buttons next to where you enter the choices to say disable instead? That's worked so far for me when I don't want the player to cancel out of the event.
Yes. Show Choices has an option to disable the cancel button.
I feel so idiotic ;_;


Thank you xD

You may close.
I know this thread is old, but it may help others if I write down how I solved it.

First of all, I declared a label (label1) in the top of the Show Choices function.

After this, I set the Cancel to "Branch" for the function.

Lastly, I put the "Jump to Label: label1" to the When Cancel branch.

It works for large choices (more than 6 choices) too, only difference is that in this case, you only have to declare
the label only in the the top of the first Show Choices function.

Hope that helped/helps/will help somebody! 🙂

Have a nice day! 😀
@FMisi - there is actually an option to literally disable (Disallow) cancel right in the show choice command. No need to make a label jump just to go back to the show choice upon cancel just to "disable" it.

At least as long as you're using vanilla choices
Necro-post notice: FMisi

Original thread: https://forums.rpgmakerweb.com/threads/temporary-disable-cancel-key-in-choice-events.39009/