How do I get how many milliseconds the player has touched the screen? So I can account for triple taps, or long tap followed by a double tap, etc.
In the simple case set a variable to the current time "on touch". Then you can get the duration of the touch from "is touching" with time-start_time.
Develop games in your browser. Powerful, performant & highly capable.
There isn't a millisecond system variable is there?
you can use "time" which gives you seconds. On the plus side is it's a decimal number so you can get a time of 0.456 or something. To get milliseconds you can multiply it by 1000.