How can I stop rendering after a pause?

Hello,
What can I do so that after I write this.scene.pause(), my scene doesn’t render anything below this.scene.pause().

Thanks in advance for the answer!

You should use this.scene.sleep() to hide the scene.

How can I make the scene remain visible while I’m asleep?

this.scene.sleep()
this.scene.setVisible(true)
Doesn’t work

To stay visible, use this.scene.pause() instead.

I guess I misunderstood. What was the original problem?