scrollFactorX : number Speed at which this layer scrolls horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
setScale(xScale, yScale) This method will set the scale of the tilemap as
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
Page 1 of 12