exitPointerLock method
void
exitPointerLock()
The exitPointerLock()
method of the Document interface
asynchronously releases a pointer lock previously requested through
Element.requestPointerLock.
Note: While the
exitPointerLock()
method is called on the document, therequestPointerLock()
method is called on an element.
To track the success or failure of the request, it is necessary to listen
for the Document.pointerlockchange_event
and
Document.pointerlockerror_event
events.
Implementation
external void exitPointerLock();