Enables this Game Object's Body.
If you reset the Body you must also pass x
and y
.
name | type | arguments | description |
---|---|---|---|
reset | boolean | <optional> |
Also reset the Body and place the Game Object at (x, y). |
x | number | <optional> |
The horizontal position to place the Game Object, if |
y | number | <optional> |
The horizontal position to place the Game Object, if |
enableGameObject | boolean | <optional> |
Also set this Game Object's |
showGameObject | boolean | <optional> |
Also set this Game Object's |
This Game Object.