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

game : Phaser.Game A reference to the currently running Game

2025-01-10 15:47:30
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#fresh
  • References/Game Development/Phaser/Display/Button

[readonly] fresh : boolean A Game Object is considered fresh if it has just been

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

alignTo(parent, position, offsetX, offsetY) → {Object}

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

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top

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

cropRect : Phaser.Rectangle The Rectangle used

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

removeChild(child) → {DisplayObject}

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#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#justReleasedPreventsOver
  • References/Game Development/Phaser/Display/Button

justReleasedPreventsOver : Phaser.PointerMode

2025-01-10 15:47:30