Returns the amount the Game Object is visually offset from its y coordinate.
This is the same as width * origin.y
.
This value will only be > 0 if origin.y
is not equal to zero.
name | type | description |
---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object to get the bounds value from. |
The vertical offset of the Game Object.