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

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

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

smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is

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

removeChildAt(index) → {DisplayObject}

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

tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

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

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be

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

events : Phaser.Events All Phaser Game Objects

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

x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.

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

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

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

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a

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

removeChild(child) → {DisplayObject}

2025-01-10 15:47:30