Phaser API Documentation

  Version: 
<readonly> width: number

Description:

The game width.

This is typically the size given in the game configuration.

Type:
number
Since: 3.16.0