There is a way to disable mouse in a specific scene?

I would like to disable the mouse only when entering the Scene_Menu specifically, but I would like it to continue working in any other scene.
This is due to a bug with an alternative menu that I am using, so I need to disable the mouse on that specific scene.
There is a way to do this?

EDIT: I managed to do it myself, no longer need to answer the thread.

Original thread: https://forums.rpgmakerweb.com/threads/there-is-a-way-to-disable-mouse-in-a-specific-scene.120410/