Phaser API Documentation

  Version: 
focus()

Description:

Called by the Game instance when the DOM window.onFocus event triggers.

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