Phaser API Documentation

  Version: 
displayWidth: number

Description:

The displayed width of this Game Object.

This value takes into account the scale factor.

Setting this value will adjust the Game Object's scale property.

Type:
number
Since: 3.0.0