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
resizeWorld() Sets the world size to match the size of this layer. Source code:
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
Page 1 of 12