So I have a custom pause menu that you press Escape to open.
However, when I press escape again to make the menu go away, the menu is still there and the buttons are selectable, its just invisible.
How do i make it so the buttons can't be pressed while the menu is off?
The other thing I notice is that if I go into the inventory from the pause menu, pressing escape to go back to my custom menu disables the keyboard controls, meaning i have to use mouse controls to pick other options until I exit the menu and re-enter it.
I'm using common events to do this menu, by the way. And have the default menu turned off.