Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Sprite
<nullable> body:
Phaser.Physics.Arcade.Body
|
Phaser.Physics.Arcade.StaticBody
Description:
This Game Object's Physics Body.
Type:
Phaser.Physics.Arcade.Body
|
Phaser.Physics.Arcade.StaticBody
Default:
null
Overrides:
Phaser.GameObjects.Sprite#body
Since:
3.0.0
Source:
src/physics/arcade/ArcadeSprite.js
(Line
84
)
Possible examples