Is there any way to measure the number of milliseconds between mouse press and release?
You can use two global variables to record the time of mousedown and mouseup, and have a substract