What will be the simplest approach to implementing a pop-up?
requirement - when popup appears nothing outside the popup is clickable until popup is closed
Thanks for any ideas!
Develop games in your browser. Powerful, performant & highly capable.
You can use a boolean variable, example: isPopUpOpen.
If you open a popup, set isPopUpOpen = true.
All elements behind can be touched with isPopUpOpen = false.