new Mouse(game)
The Mouse class is responsible for handling all aspects of mouse interaction with the browser. It captures and processes mouse events that happen on the game canvas object.It also adds a single mouseup listener to window which is used to capture the mouse being releasedwhen not over the game. You should not normally access this class directly, but instead use a Phaser.Pointer objectwhich normalises all game input for you, including accurate button handling.
Parameters
Name Ty