Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Body
gameObject:
Phaser.GameObjects.GameObject
Description:
The Game Object this Body belongs to.
As of Phaser 3.60 this is now optional and can be undefined.
Type:
Phaser.GameObjects.GameObject
Since:
3.0.0
Source:
src/physics/arcade/Body.js
(Line
79
)
Possible examples