Phaser API Documentation

  Version: 

Member of: Phaser.Game

pause()

Description:

This will pause the entire game and emit a PAUSE event.

All of Phaser's internal systems will be paused and the game will not re-render.

Note that it does not pause any Loader requests that are currently in-flight.

Since: 3.60.0
Source: src/core/Game.js (Line 597)