[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
scrollFactorX : number Speed at which this layer scrolls horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls
getTiles(x, y, width, height, collides, interestingFace) → {array.<
cameraOffset : Phaser.Point The x/y coordinate offset
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
alignIn(container, position, offsetX, offsetY)
[readonly] deltaY : number Returns the delta y value. The difference between world.y now and
lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'
Page 2 of 12