Phaser API Documentation

  Version: 

Member of: Phaser.Types.Core

MouseInputConfig
Properties:
name type arguments Default description
target * <optional> null

Where the Mouse Manager listens for mouse input events. The default is the game canvas.

preventDefaultDown boolean <optional> true

If true the DOM mousedown event will have preventDefault set.

preventDefaultUp boolean <optional> true

If true the DOM mouseup event will have preventDefault set.

preventDefaultMove boolean <optional> true

If true the DOM mousemove event will have preventDefault set.

preventDefaultWheel boolean <optional> true

If true the DOM wheel event will have preventDefault set.

Type:
object
Since: 3.0.0