requestPointerLock

suspend fun requestPointerLock(options: PointerLockOptions = definedExternally)(source)

MDN Reference