requestPointerLock
Summary
requestPointerLock lets you lock the target of mouse events to a single element while hiding the cursor.
Method of dom/Elementdom/Element
Syntax
element.requestPointerLock();
Return Value
No return value
Related specifications
- Pointer Lock
- W3C Working Draft