set pointer lock ()

From PenguinMod Wiki (Official)
Set pointer lock ()
Jump to navigation Jump to search

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 (default)
  • 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.

ve Pointer Lock Blocks Navigation
TurboWarp Blocks set pointer lock ()  · pointer locked?