Pointer Lock API

GPTKB entity

Statements (28)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:allows hiding the mouse cursor
tracking relative mouse movement
gptkbp:alsoKnownAs gptkb:Mouse_Lock_API
gptkbp:category Web development
Browser API
gptkbp:definedIn gptkb:W3C
gptkbp:enables direct access to mouse movement
gptkbp:event pointerlockchange
pointerlockerror
gptkbp:features requires user gesture
can be exited by pressing Esc
https://www.w3.org/2000/01/rdf-schema#label Pointer Lock API
gptkbp:interface Element.requestPointerLock()
document.exitPointerLock()
document.pointerLockElement
gptkbp:introduced 2012
gptkbp:partOf gptkb:HTML5
gptkbp:specifies https://w3c.github.io/pointerlock/
gptkbp:supportedBy gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
gptkbp:usedFor 3D applications
custom mouse interactions
first-person games
gptkbp:bfsParent gptkb:Web_Applications_Working_Group
gptkbp:bfsLayer 4