Phaser API Documentation

  Version: 
primaryDown: boolean

Description:

Is the primary button down? (usually button 0, the left mouse button)

Type:
boolean
Default: false
Since: 3.0.0
Source: src/input/Pointer.js (Line 357)