pointerLockElement property

Element? get pointerLockElement

The pointerLockElement read-only property of the Document interface provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.

Implementation

external Element? get pointerLockElement;