How to stop everything in the scene for a second?

I want to create a pause-like effect when the hero hits the enemy like when Mario touches a power mushroom. The intent is to make everything that moves to stop for a second and resume exactly the same as it was before.



put everything in your scene under a node (the things you want to stop) but not the scene itself. On that node run an action that has three actions:
the first one just pauses that node (everythingNodeUnderScene.paused = true)
the second action is just a wait action
the third action sets the SKNode's paused attribute to false
How to stop everything in the scene for a second?
 
 
Q