Button#clearFrames()

clearFrames() Clears all of the frames set on this Button. Source code: gameobjects/Button.js (Line 233)

Button#children

[readonly] children : Array.<DisplayObject> [read-only] The array of children of this container. Type Array.<DisplayObject> Inherited From PIXI.DisplayObjectContainer#children Source code: pixi/display/DisplayObjectContainer.js (Line 17)

Button#centerY

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2). Inherited From Phaser.Component.Bounds#centerY Source code: gameobjects/components/Bounds.js (Line 80)

Button#centerX

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2). Inherited From Phaser.Component.Bounds#centerX Source code: gameobjects/components/Bounds.js (Line 58)

Button#cameraOffset

cameraOffset : Phaser.Point The x/y coordinate offset applied to the top-left of the camera that this Game Object will be drawn at if fixedToCamera is true. The values are relative to the top-left of the camera view and in addition to any parent of the Game Object on the display list. Inherited From Phaser.Component.FixedToCamera#cameraOffset Source code: gameobjects/components/FixedToCamera.js (Line 86)

Button#Button

new Button(game, x, y, key, callback, callbackContext, overFrame, outFrame, downFrame, upFrame) Create a new Button object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. 'Out' - when the Pointer that was previously over the Button moves out of it. 'Down' - when the Pointer is pressed down on the Button. I.e. touched on

Button#bringToTop()

bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list.Visually this means it will render over the top of any old child in the same Group. If this Game Object hasn't been added to a custom Group then this method will bring it to the top of 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#bringToTop Source code: gameo

Button#bottom

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY. Inherited From Phaser.Component.Bounds#bottom Source code: gameobjects/components/Bounds.js (Line 168)

Button#blendMode

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning: You cannot have a blend mode and a filter active on the same Sprite. Doing so will render the sprite invisible. Inherited From PIXI.Sprite#blendMode Default Value PIXI.blendModes.NORMAL; Source code: pixi/display/Sprite.js (Line 82)

Button#autoCull

autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame.If it is not intersecting the Camera bounds at any point then it has its renderable property set to false.This keeps the Game Object alive and still processing updates, but forces it to skip the render step entirely. This is a relatively expensive operation, especially if enabled on hundreds of Game Objects. So enable it only if you know it's required,or you have tested perfor