Phaser API Documentation

  Version: 
<nullable> body: MatterJS.BodyType | Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody

Description:

This property is kept purely so a Layer has the same shape as a Game Object. You cannot give a Layer a physics body.

Default: null
Since: 3.51.0