set pointer lock ()

From PenguinMod Wiki
Set pointer lock ()
Jump to navigation Jump to search
Set pointer lock ()
...
Caption
Block Type Stack
Category / Extension Pointer Lock
Status Who tf uses status

The set pointer lock () block is a stack block in the Pointer Lock Extension. It has 2 states of existence, those being:

  • enabled - Locks cursor
  • disabled - Allows cursor to go off stage

Documentation

Makes the mouse cursor lock into the stage, not letting it leave, plus making it invisible.

It also makes the mouse x and y blocks report the change in mouse movement since the last frame instead of the position of the mouse.