Phaser API Documentation

  Version: 
Event: RESIZE
Phaser.Renderer.Events.RESIZE
RESIZE

Description:

The Renderer Resize Event.

This event is dispatched by the Phaser Renderer when it is resized, usually as a result of the Scale Manager resizing.

Parameters:

name type description
width number

The new width of the renderer.

height number

The new height of the renderer.

Since: 3.50.0