leftButton : Phaser.DeviceButton
If this Pointer is a Mouse or Pen / Stylus then you can access its left button directly through this property.
The DeviceButton has its own properties such as isDown
, duration
and methods like justReleased
for more fine-grained
button control.
- Source code: input/Pointer.js (Line 81)
Please login to continue.