Button#onInputOut

onInputOut : Phaser.Signal The Signal (or event) dispatched when this Button is in an Out state. Source code: gameobjects/Button.js (Line 152)

Button#onInputDown

onInputDown : Phaser.Signal The Signal (or event) dispatched when this Button is in an Down state. Source code: gameobjects/Button.js (Line 158)

Button#onDownSoundMarker

[readonly] onDownSoundMarker : string The Sound Marker used in conjunction with the onDownSound. Source code: gameobjects/Button.js (Line 133)

Button#onDownSound

[readonly] onDownSound : Phaser.Sound | Phaser.AudioSprite | null The Sound to be played when this Buttons Down state is activated. Type Phaser.Sound | Phaser.AudioSprite | null Source code: gameobjects/Button.js (Line 105)

Button#offsetY

[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate.This is the same as height * anchor.y.It will only be > 0 if anchor.y is not equal to zero. Inherited From Phaser.Component.Bounds#offsetY Source code: gameobjects/components/Bounds.js (Line 42)

Button#offsetX

[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate.This is the same as width * anchor.x.It will only be > 0 if anchor.x is not equal to zero. Inherited From Phaser.Component.Bounds#offsetX Source code: gameobjects/components/Bounds.js (Line 24)

Button#name

name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant as a game level property. Inherited From Phaser.Component.Core#name Source code: gameobjects/components/Core.js (Line 150)

Button#moveUp()

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list.This call has no effect if the Game Object is already at the top of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object up within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveUp Source code: game

Button#moveDown()

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list.This call has no effect if the Game Object is already at the bottom of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object down within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveDown Source

Button#loadTexture()

loadTexture(key, frame, stopAnimation) Changes the base texture the Game Object is using. The old texture is removed and the new one is referenced or fetched from the Cache. If your Game Object is using a frame from a texture atlas and you just wish to change to another frame, then see the frame or frameName properties instead. You should only use loadTexture if you want to replace the base texture entirely. Calling this method causes a WebGL texture update, so use sparingly or in low-intensi