Returns the x and y coordinates of the top left and bottom right points of the StaticBody.
name | type | description |
---|---|---|
obj | Phaser.Types.Physics.Arcade.ArcadeBodyBounds |
The object which will hold the coordinates of the bounds. |
The same object that was passed with x
, y
, right
and bottom
values matching the respective values of the StaticBody.