Phaser API Documentation

  Version: 
<private> _width: number

Description:

The width of the Camera viewport, in pixels.

The viewport is the area into which the Camera renders. Setting the viewport does not restrict where the Camera can scroll to.

Type:
number
Since: 3.11.0