Phaser API Documentation

  Version: 
<readonly> gridWidth: number

Description:

The width of this Plane in cells, not pixels.

This value is read-only. To adjust it, see the setGridSize method.

Type:
number
Since: 3.60.0