getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
setSounds(overSound, overMarker, downSound, downMarker
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
setOutSound(sound, marker) The Sound to be played when a Pointer moves out of this Button.
new Button(game, x, y, key, callback,
onOverMouseOnly : boolean If true then onOver events (such as onOverSound) will only be triggered if the Pointer object causing
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
[readonly] onUpSoundMarker : string The Sound Marker used in conjunction with the onUpSound
Page 7 of 12