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

[readonly] onOutSound : Phaser.Sound |

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

[readonly] type : number The Phaser Object Type.

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

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

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

alignIn(container, position, offsetX, offsetY)

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

left : number The left coordinate of the Game Object.This is the same as x - offsetX.

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

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.

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

new Button(game, x, y, key, callback,

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

destroy(destroyChildren, destroyTexture) Destroys the Game Object. This

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

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

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate

2025-01-10 15:47:30