Skip to content

1681-engine / index / exitPointerLock

Function: exitPointerLock() ​

ts
function exitPointerLock(doc?): void;

Defined in: src/platform/pointerLock.ts:50

Releases the pointer; a no-op when nothing holds it.

Parameters ​

ParameterType
docPointerLockDocument | null

Returns ​

void

Released under the MIT License.