Make the click work as enter without having to put it on the event??

I would like to do like this but in MZ.

I tried to use that same code but it has the error that it goes into a loop and does not end the interaction with the event when you click a second time, but rather continues interacting over and over again until you press enter or hold down the click
You could try this as the last Eventcommands in your Event to Stop this behavior.
I guess you want to close the last Textbox.

- Your Code as is.
Than:
- Eventcommand Loop
-- Conditional Branch OK Button being Pressed?
-- If yes: Eventcommand Wait 1 Frame
-- Else Break Loop

That should stop the reactivating of the Event.
But it only works if the Mouse Click triggers the OK button and is not doing some fancy stuff in the Background.

Original thread: https://forums.rpgmakerweb.com/threads/make-the-click-work-as-enter-without-having-to-put-it-on-the-event.162693/