Phaser API Documentation

  Version: 
Event: FOCUS
Phaser.Core.Events.FOCUS
FOCUS

Description:

The Game Focus Event.

This event is dispatched by the Game Visibility Handler when the window in which the Game instance is embedded enters a focused state. The focus event is raised when the window re-gains focus, having previously lost it.

Since: 3.0.0