Button#tintedTexture
  • References/Game Development/Phaser/Display/Button

tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)

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

getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle

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

play(name, frameRate, loop, killOnComplete) → {

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

freezeFrames : boolean When true the the texture frame will not be automatically switched on up/down/over/out events.

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

onInputOver : Phaser.Signal The Signal (or event)

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

sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display

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

setDownSound(sound, marker) The Sound to be played when a Pointer presses down on this Button.

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

getChildAt(index) → {DisplayObject}

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

name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant

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

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

2025-01-10 15:47:30