Does anyone know if there's a way to prevent the behaviour where, if you've stopped code execution on a breakpoint and click the play button to resume, when you go back to the game window it's stuck continually doing an OK key press? It makes it difficult to debug menus with selectable windows at times, since as soon as I resume execution it ends up doing a bunch of inputs as if I'd been hitting enter and that often takes me out of the menu I was testing.
Preventing automatic OK entry after resuming from a breakpoint
RPG Maker MZ SupportI guess that is because when you use the console the game loses focus and become inactived.
For example you press a button but the game never detects when you release it?
I don't know if calling Input.clear() in the console works.
For example you press a button but the game never detects when you release it?
I don't know if calling Input.clear() in the console works.
Original thread: https://forums.rpgmakerweb.com/threads/preventing-automatic-ok-entry-after-resuming-from-a-breakpoint.177138/