1681-engine / index / isPointerLocked
Function: isPointerLocked() ​
ts
function isPointerLocked(element?, doc?): boolean;Defined in: src/platform/pointerLock.ts:24
True while element (or, with none named, anything) holds the pointer.
Parameters ​
| Parameter | Type |
|---|---|
element? | Element |
doc? | PointerLockDocument | null |
Returns ​
boolean