Phaser API Documentation



Removes an existing Arcade Physics Body or StaticBody from the simulation.

The body is disabled and removed from the local search trees.

The body itself is not deleted, it just has its enabled property set to false, which means you can re-enable it again at any point by passing it to enable enable or add.


name type description
body Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody

The body to be removed from the simulation.

Since: 3.0.0