[readonly] width : integer
The current Game Width in pixels.
Do not modify this property directly: use Phaser.ScaleManager#setGameSize - eg. game.scale.setGameSize(width, height)
- instead.
- Default Value
- 800
- Source code: core/Game.js (Line 58)
[readonly] width : integer
The current Game Width in pixels.
Do not modify this property directly: use Phaser.ScaleManager#setGameSize - eg. game.scale.setGameSize(width, height)
- instead.
Please login to continue.