Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Matter.TileBody
destroy()
Description:
Removes the current body from the tile and the world.
Returns:
Description:
This TileBody object.
Type:
Phaser.Physics.Matter.TileBody
Overrides:
Phaser.Events.EventEmitter#destroy
Since:
3.0.0
Source:
src/physics/matter-js/MatterTileBody.js
(Line
310
)
Possible examples