Gets the center coordinate of this Game Object, regardless of origin. The returned point is calculated in local space and does not factor in any parent containers
name | type | arguments | description |
---|---|---|---|
output | object | Phaser.Math.Vector2 | <optional> |
An object to store the values in. If not provided a new Vector2 will be created. |
The values stored in the output object.