Disable left click or any input from player.

I want to know how to disable mouse left click or any input. I need it to be impossible for the player to click any hotspots for a period of time.
Hi, I think you could try to create a huge transparent hotspot with a high z-index covering the entire screen so it catches all clicks and nothing goes through.
Hey! That's a pretty good idea! I thought it would be some kind of script call or something. I will try that, thank you, Kentou.

Original thread: https://forums.rpgmakerweb.com/threads/disable-left-click-or-any-input-from-player.120139/