Due to the change that allows VR Udon Input events to occur while the Quick Menu is open there isn't an easy way to block inputs to the world while the menu is open.
There could be an easy way to check if the menu is open like a InputManager.isMenuOpen property or function like this:
void VRChatMenuStatusChanged(bool isOpen)
would be very useful to a lot of worlds.
For example, in NeoWorlds we are currently looking into a way to block interaction with the game while the VRChat menus are open. It's hard to interact with the VRChat menus without accidentally walking in the game due to our Click to Walk feature.