Button#setFrames()
  • References/Game Development/Phaser/Display/Button

setFrames(overFrame, outFrame, downFrame, upFrame)

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

scaleMin : Phaser.Point The minimum scale this Game

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

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

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

[readonly] renderOrderID : number The render order ID is used internally by the renderer and

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

debug : boolean A debug flag designed for use with Game.enableStep.

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

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components

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

input : Phaser.InputHandler | null The

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

updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect

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

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy

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

events : Phaser.Events All Phaser Game Objects

2025-01-10 15:47:30