PointerLock Op
locks the pointer to the canvas and hides the cursor
Summary (oneliner)
<p>The Pointer Lock API provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view. It is ideal for first-person 3D games, for example.</p>
- Ops.Devices.Mouse.PointerLock
- Core Op - Official cables op
- MIT
- caniuse.com: pointerLock
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch pointerlock
INPUT PORTS
OUTPUT PORTS
<i>boolean</i>
Number)<i>boolean</i>
Number)