Mouse Drag and Hold Test
Use the area below to test your mouse. Counts include only events received there. For speed tests choose the duration first.
Results
—
What hold time and drag distance show
Press and drag in the test area. Distance is the sum of pointer steps in CSS pixels, from pointer down to pointer up. Hold time is that same interval.
Losing focus, releasing the button, or how the browser captures the pointer can cut the path short. A short drag describes the events received. It is not an automatic diagnosis of a faulty switch or sensor.
Common questions
What unit is distance in?
CSS pixels. A move from 0,0 to 3,4 is 5 CSS pixels in the worked example. That is page distance, not centimetres on the desk.
What is hold time?
The time from pointer down to pointer up. The worked example is 500 milliseconds.
Why might a drag end early?
The button may have been released, the window may have lost focus, or pointer capture may have ended. The log only has events the page received.
How to use this tool
Use the area below to test your mouse. Counts include only events received there. For speed tests choose the duration first.
| Results | Method and units |
|---|---|
| Distance | Σ √(Δx² + Δy²), CSS px |
| Buttons | pointerdown → pointerup |
Example
Distance: (0,0) → (3,4) = 5 CSS px · Hold time: 500 ms
What this test can and cannot tell you
Results reflect events and signals available to your browser. Settings, permissions and device support can affect them; they do not certify that hardware is healthy or faulty.