alignTo(parent, position, offsetX, offsetY) → {Object}
[readonly] previousPosition : Phaser.Point
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
[readonly] renderOrderID : number The render order ID is used internally by the renderer and
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame
cameraOffset : Phaser.Point The x/y coordinate offset
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
Page 3 of 11