iterami/Docs.htm/common HTM Repos/core.js/core_requestpointerlock(element)
- Attempts to request pointerlock on an element, such as a canvas.
- Does nothing if:
- The core menu is open.
- "core_mobile" is true.
- An element currently has pointerlock.
- The escape key is being actively pressed.
- Any errors that occur are silently ignored.