Hi,
I'm using a layer named "pause_menu" for player able to retry or quit game. so initially I set this layer invisible and only show when he hit the pause button. But seems player can always interact with the pause menu even when its invisible? :(
Develop games in your browser. Powerful, performant & highly capable.
When you open or close the pause menu, toggle a boolean. If that boolean is set, allow the player to interact with the pause menu and make it visible. If it's not set, make it invisible. Sub-events should help here.
Thanks. I just found another work around of active/deactive the event group:D