If you are only using built-in behaviors or have used dt as required in all movement formulas, you can "Set time scale" to 0 to pause the game. At the moment you do so, make sure to make a top layer visible.
See the example provided, and be sure to check out the manual on any issue.
In the example Pause is activated/deactivated by clicking the screen.