Pointer#forwardButton

forwardButton : Phaser.DeviceButton

If this Pointer is a Mouse or Pen / Stylus then you can access its X2 (forward) 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 133)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.