[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
alignTo(parent, position, offsetX, offsetY) → {Object}
bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.
alignIn(container, position, offsetX, offsetY)
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
new Bounds() The Bounds component contains properties related to the bounds of the Game Object.
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
Page 1 of 2