Phaser API Documentation

  Version: 
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
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