middleButton : Phaser.DeviceButton
If this Pointer is a Mouse or Pen / Stylus then you can access its middle 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.
Please see the DeviceButton docs for details on browser button limitations.
- Source code: input/Pointer.js (Line 94)
Please login to continue.