Pointer Lock API

E856233

The Pointer Lock API is a web technology that allows web applications to capture and hide the mouse cursor, providing raw, continuous mouse movement data for immersive experiences like 3D games and simulations.

All labels observed (4)

Label Occurrences
Pointer Lock API canonical 2
Element.requestPointerLock 1
Pointer Lock Level 1 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Web API
Web technology
availableIn JavaScript running in browsers
behavior allows movement beyond screen boundaries logically
hides system cursor while locked
reports relative mouse movement instead of absolute position
category Browser input API
HTML5 game development technology
controlledBy user pressing Escape to exit pointer lock
definedIn W3C Pointer Lock Recommendation
linked to: W3C Recommendation
documentation MDN Web Docs: Pointer Lock API
linked to: MDN Web Docs
enables 3D simulations
custom mouse interaction models
first-person camera controls
immersive 3D games in the browser
exposesInterface Document.exitPointerLock
Element.requestPointerLock
linked to: Pointer Lock API

MouseEvent.movementX
MouseEvent.movementY
document.pointerLockElement
pointerlockchange event
pointerlockerror event
implementedIn Google Chrome
Microsoft Edge
Mozilla Firefox
Safari
improvesUpon Pointer Lock Level 1
linked to: Pointer Lock API
notAvailableIn non-browser environments by default
partOf Web platform
primaryUse capturing mouse pointer
hiding mouse cursor
providing raw mouse movement data
relatedTo Fullscreen API
Gamepad API
WebGL
WebGPU
requires secure context
user gesture to initiate pointer lock
securityProperty pointer lock can be exited by user input
user must explicitly grant pointer lock
standardizedBy W3C
status W3C Recommendation
supports continuous mouse movement
unbounded mouse movement
useCase 3D modeling tools
first-person shooter games
virtual reality style navigation on desktop
version Pointer Lock Level 2
linked to: Pointer Lock API

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Open Web Platform hasComponent Pointer Lock API
Gamepad API relatedTo Pointer Lock API
Pointer Lock API exposesInterface Element.requestPointerLock
linked to: Pointer Lock API
Pointer Lock API version Pointer Lock Level 2
linked to: Pointer Lock API
Pointer Lock API improvesUpon Pointer Lock Level 1
linked to: Pointer Lock API