Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Input.Pointer
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
)
Possible examples