Mouse#enabled

enabled : boolean Mouse input will only be processed if enabled. Default Value true Source code: input/Mouse.js (Line 89)

Mouse#capture

capture : boolean If true the DOM mouse events will have event.preventDefault applied to them, if false they will propagate fully. Source code: input/Mouse.js (Line 67)

Mouse#callbackContext

callbackContext : Object The context under which callbacks are called. Source code: input/Mouse.js (Line 37)

Mouse#button

button : number This property was removed in Phaser 2.4 and should no longer be used.Instead please see the Pointer button properties such as Pointer.leftButton, Pointer.rightButton and so on.Or Pointer.button holds the DOM event button value if you require that. Source code: input/Mouse.js (Line 76)

Matrix#type

[readonly] type : number The const type of this object. Source code: geom/Matrix.js (Line 75)

Matrix#ty

ty : number Default Value 0 Source code: geom/Matrix.js (Line 69)

Matrix#tx

tx : number Default Value 0 Source code: geom/Matrix.js (Line 63)

Matrix#translate()

translate(x, y) → {Phaser.Matrix} Translates the matrix on the x and y.This is the same as Matrix.tx += x. Parameters Name Type Description x number The x value to translate on. y number The y value to translate on. Returns Phaser.Matrix - This Matrix object. Source code: geom/Matrix.js (Line 279)

Matrix#toArray()

toArray(transpose, array) → {PIXI.Float32Array} Creates a Float32 Array with values populated from this Matrix object. Parameters Name Type Argument Default Description transpose boolean <optional> false Whether the values in the array are transposed or not. array PIXI.Float32Array <optional> If provided the values will be set into this array, otherwise a new Float32Array is created. Returns PIXI.Float32Array - The newly created array which contains the matrix.

Matrix#setTo()

setTo(a, b, c, d, tx, ty) → {Phaser.Matrix} Sets the values of this Matrix to the given values. Parameters Name Type Description a number Horizontal scaling b number Horizontal skewing c number Vertical skewing d number Vertical scaling tx number Horizontal translation ty number Vertical translation Returns Phaser.Matrix - This Matrix object. Source code: geom/Matrix.js (Line 103)