requestPointerLock
The requestPointerLock()
method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.
The requestPointerLock()
method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.