Phaser API Documentation

  Version: 
<readonly> displayWidth: number

Description:

The computed display width of this Game Object, based on the getBoundingClientRect DOM call.

The property width holds the un-scaled width of this DOM Element.

Type:
number
Since: 3.17.0