temporarily suspend / freeze app

when i open a overlay i like to temporarily suspend / freeze all app activity until the overlay is closed is there a good way of doing this ? 

kevin

Each app is unique, so whatever needs to be done when the app is in a ‘paused’ state will vary.

For example, In my case - a game - when the user taps the pause button I pause physics, freeze the particle engine, isVisible = false for my HUD group, hide&set isHitTestable to false for my joystick and mine button etc…
Then when the overlay has finished, I resume physics, the particle engine and set my object’s visibility and isHitTestable  to true 'n such.

-Saer

Each app is unique, so whatever needs to be done when the app is in a ‘paused’ state will vary.

For example, In my case - a game - when the user taps the pause button I pause physics, freeze the particle engine, isVisible = false for my HUD group, hide&set isHitTestable to false for my joystick and mine button etc…
Then when the overlay has finished, I resume physics, the particle engine and set my object’s visibility and isHitTestable  to true 'n such.

-Saer