eraserButton : Phaser.DeviceButton
If this Pointer is a Pen / Stylus then you can access its eraser 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 146)
Please login to continue.