PointerLock Op

PointerLock

locks the pointer to the canvas and hides the cursor


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.


Edit Documentation

Full Name
  • Ops.Devices.Mouse.PointerLock
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorCompatibilityTest Patches


 

INPUT PORTS


Render (Trigger)
Start (Trigger)

OUTPUT PORTS


Next (Trigger)
Supported (boolean Number)
Is Locked (boolean Number)

Patches using PointerLock

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2024-01-31 10:09
renameOps.Patch.Pds6IV2.PointerLock renamed to Ops.Devices.Mouse.PointerLockuser avatarpandur - 2024-01-31 11:55