Skip to Content
Platform.Ontology

Mouse movement dynamics

Records cursor paths, speed and acceleration.

Used to track youSpeed and timingBehavioral biometricsWeb browsersWhile you use it

In one line

Can track how your cursor moves on the page, to tell people from bots

Records cursor paths, speed and acceleration.

Movement curvature, jitter and click timing separate humans from bots and can identify repeat users. Coalesced events give up to 1000 Hz traces on gaming mice.

What it can and can't do

What the user does: You move or click the mouse on the page

It can

  • Record cursor paths, speed and how it speeds up
  • Time your clicks
  • Tell humans from bots by how smooth the movement is
  • Spot repeat visitors from their movement style

It cannot

  • Follow your cursor outside the page
  • Ask permission first
  • See what you type
  • Follow your hand when the pointer is not over the page

How it differs between platforms: Phones and tablets have no cursor, so touch movement is tracked instead.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported582017-04-19None
EdgeSupported792020-01-15None
FirefoxSupported592018-03-13None
SafariSupported18.22024-12-11None
Safari on iPhoneSupported18.22024-12-11None
Chrome on AndroidSupported582017-04-25None
Samsung InternetSupported7.02018-03-16None

How a site asks for it

APImousemove, pointermove, getCoalescedEvents(), PointerEvent.pointerType
Browser compat keysapi.PointerEvent.getCoalescedEvents
How access is grantednone
What the user seesNot listed
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Listen to pointer events
  2. Record x, y, timestamp
  3. Compute velocity, acceleration, curvature
  4. Score human likelihood or identify

Data you get

What comes back: 60 to 1000 samples per second
Shape: event

FieldTypeUnitRangePrecision
clientXfloatCSS px0 to viewportsubpixel on high DPI
movementXfloatpx-1000 to 10001 px

Technical limits

  • Only inside page viewport
  • No readout of pointer outside window except during drag/capture

The story

What it is

A script records cursor paths, speed and acceleration to judge if a human is moving the mouse.

For you

You never see it. Real people move a mouse with small wobbles and pauses. A page that records your movement can tell you apart from a bot, and sometimes tell you apart from other people.

For makers

Fraud and bot defense tools use mouse paths as a key signal, like in invisible CAPTCHAs. Marketers use the same data for heat maps that show where people look and click.

Where you see it

TypeExampleApps
securityAn invisible CAPTCHA like reCAPTCHA v3 scores how human your mouse moves are, so most people never see a puzzle.Google reCAPTCHA v3, Cloudflare Turnstile
shoppingA site uses heat maps of mouse movement to see which part of a page people hover over before buying.Hotjar, Microsoft Clarity
shoppingA ticket seller blocks scalper bots that move the cursor in perfectly straight lines.Ticketmaster
bankingA bank adds mouse habits to its fraud score at login, quietly checking you move like usual.None named
gamesA browser game catches aim bots that move the cursor in robotic jumps.None named
adsAn ad system checks that clicks on ads came from natural mouse movement, so advertisers are not charged for bot clicks.None named
analyticsA product team watches session replays of cursor movement to find a confusing button.FullStory, Microsoft Clarity

Risks

  • Behavior is personal
  • Replay tools can see a lot
  • Used for tracking

Good uses and abuse

Legitimate uses

  • Games and drawing tools, accessibility

Known abuse

  • Behavioral CAPTCHAs (reCAPTCHA v3, Turnstile, Akamai sensor) and user identification

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits3Rough identifying entropy, when known

History

  • 2019-01, Chrome: PointerEvent getCoalescedEvents ships (Chrome 58 originally)
  • 2022-01, Firefox: Firefox adds getCoalescedEvents (version 59)

Sources

How well checked: Based on official documentation.

On this page