duration : number
If the key is down this value holds the duration of that key press and is constantly updated.
If the key is up it holds the duration of the previous down session. The number of milliseconds this key has been held down for.
- Source code: input/Key.js (Line 76)
Please login to continue.