Phaser API Documentation

  Version: 
width: number

Description:

The width of the Static Body's boundary, in pixels. If the Static Body is circular, this is also the Static Body's diameter.

Type:
number
Since: 3.0.0