mouseOverCallback : Function A callback that can be fired when the mouse enters the game canvas (usually after a mouseout).
onMouseMove(event) The internal method that handles the mouse move event from the browser. Parameters
capture : boolean If true the DOM mouse events will have event.preventDefault applied to them, if false they will propagate fully
wheelDelta : number The direction of the last mousewheel usage 1 for up -1 for down.
game : Phaser.Game A reference to the currently running game
[static] BACK_BUTTON : number Source code:
[static] LEFT_BUTTON : number Source code:
new Mouse(game) The Mouse class is responsible for handling all aspects of mouse interaction with the browser. It captures and
[static] WHEEL_UP : number Source code:
start() Starts the event listeners running. Source code:
Page 1 of 4