Sprite#inCamera
  • References/Game Development/Phaser/Display/Sprite

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

2025-01-10 15:47:30
Sprite#right
  • References/Game Development/Phaser/Display/Sprite

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.

2025-01-10 15:47:30
Sprite#revive()
  • References/Game Development/Phaser/Display/Sprite

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object

2025-01-10 15:47:30
Sprite#transformCallbackContext
  • References/Game Development/Phaser/Display/Sprite

transformCallbackContext : Object The context under which transformCallback is called.

2025-01-10 15:47:30
Sprite#texture
  • References/Game Development/Phaser/Display/Sprite

texture : PIXI.Texture The texture that the

2025-01-10 15:47:30
Sprite#moveUp()
  • References/Game Development/Phaser/Display/Sprite

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list

2025-01-10 15:47:30
Sprite#blendMode
  • References/Game Development/Phaser/Display/Sprite

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning:

2025-01-10 15:47:30
Sprite#setChildIndex()
  • References/Game Development/Phaser/Display/Sprite

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters

2025-01-10 15:47:30
Sprite#renderOrderID
  • References/Game Development/Phaser/Display/Sprite

[readonly] renderOrderID : number The render order ID is used internally by the renderer and

2025-01-10 15:47:30
Sprite#setHealth
  • References/Game Development/Phaser/Display/Sprite

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.

2025-01-10 15:47:30