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#overlap()
  • References/Game Development/Phaser/Display/Sprite

overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with

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#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#removeChild()
  • References/Game Development/Phaser/Display/Sprite

removeChild(child) → {DisplayObject}

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#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#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#resetFrame()
  • References/Game Development/Phaser/Display/Sprite

resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering.

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

resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally

2025-01-10 15:47:30