You’re reading the docs for Phaser v3.90.0. The latest is Phaser v4.1.0.

Types.GameObjects.Zone

Phaser.Types.GameObjects.Zone

ZoneConfig

staticZoneConfig

nametypeoptionaldefaultdescription
widthnumberYes1The width of the Game Object.
heightnumberYes1The height of the Game Object.

Type: object

Member of: Phaser.Types.GameObjects.Zone

Source: src/gameobjects/zone/typedefs/ZoneConfig.js#L1
Since: 3.50.0