Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Scale.ScaleManager
<readonly> width: number
Description:
The game width.
This is typically the size given in the game configuration.
Type:
number
Since:
3.16.0
Source:
src/scale/ScaleManager.js
(Line
1571
)
Possible examples