[readonly] duration : number
How long the button has been held down for in milliseconds.
If not currently down it returns -1.
- Source code: input/DeviceButton.js (Line 300)
[readonly] duration : number
How long the button has been held down for in milliseconds.
If not currently down it returns -1.
Please login to continue.