Phaser API Documentation

  Version: 
pause()

Description:

Called when the visibility API says the game is 'hidden' (tab switch out of view, etc)

Examples:
Since: 3.0.0
Source: src/core/TimeStep.js (Line 386)