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

[readonly] onOutSoundMarker : string The Sound Marker used in conjunction with the onOutSound

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

[readonly] onUpSound : Phaser.Sound |

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

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list

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

setOverSound(sound, marker) The Sound to be played when a Pointer moves over this Button. Parameters

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

key : string | Phaser.RenderTexture |

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

[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate

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

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

width : number The width of the sprite, setting this will actually modify the scale to achieve the value set

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

[readonly] onUpSoundMarker : string The Sound Marker used in conjunction with the onUpSound

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

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

2025-01-10 15:47:30