Web platform features explorer

Pointer lock

Limited availability
Tags: api

Provides access to raw mouse movement by locking the target of mouse events to a single element and hiding the mouse cursor.

Specifications

Browser support (view on caniuse.com)

  • Chrome 37 Released on 2014-08-26
  • Chrome Android See crbug.com/40290045
  • Edge 13 Released on 2015-11-12
  • Firefox 50 Released on 2016-11-15
  • Firefox for Android 50 Released on 2016-11-15
  • Safari 10.1 Released on 2017-03-27
  • Safari on iOS

Usage (according to Chrome Platform Status)

~0.015% of page loads. More data at chromestatus.