Returns the center x coordinate from the bounds of the Game Object.
name | type | description |
---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object to get the bounds value from. |
The center x coordinate of the bounds of the Game Object.