Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Renderer.WebGL.WebGLRenderer
width: number
Description:
The width of the canvas being rendered to. This is populated in the onResize event handler.
Type:
number
Since:
3.0.0
Source:
src/renderer/webgl/WebGLRenderer.js
(Line
128
)
Possible examples