Phaser API Documentation

  Version: 
resize([width], [height])

Description:

Resize the main game canvas.

Parameters:

name type arguments description
width number <optional>

The new width of the renderer.

height number <optional>

The new height of the renderer.

Since: 3.0.0