The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
pointerLockElement property
Retrieves the target element for mouse events under pointer lock state. Returns null if the document is not currently in pointer lock state.
Syntax
element = document.pointerLockElement
Property values
Type: Element
Element under pointer lock
See also
Show: