JWSmythe

HTML5 Mouse Tester

HTML5 Mouse Tester

Move, click, drag, wheel, double-click, right-click — and verify what your browser is actually seeing.

Loading…

Tester Area

Click inside this box to focus. Try left / middle / right, drag, wheel, and double-click. Tip: Some browsers require focus before wheel/move events are reliably reported.
Not focused
Position (client)
Position (tester)
Movement (per event)
Wheel
Buttons (buttons bitmask)
Clicks / Double-click
0 dbl: 0
Left
up
Middle
up
Right
up
Back (Button 4)
up
Forward (Button 5)
up
Extra (6+)
up
Notes:
  • event.button is “which button triggered the event” (0 left, 1 middle, 2 right, 3 back, 4 forward).
  • event.buttons is a bitmask of buttons currently held (1 left, 2 right, 4 middle, 8 back, 16 forward…).
  • Wheel delta may vary by device/browser; check deltaMode (pixels / lines / pages).