Pause functionality for sceneManager.