Element.requestPointerLock() method lets you
asynchronously ask for the pointer to be locked on the given element.
Transient user activation is required. The user has to interact with the page or a UI element in order for this feature to work.
|Pointer Lock 2.0 |
BCD tables only load in the browser