Nucleus handler tools βΊ Docs βΊ Game.ProtoInput βΊ SetCursorPosHook
Game.ProtoInput.SetCursorPosHook
Open in the workbench (search, and try it in a handler)
Game.ProtoInput.SetCursorPosHook: boolean
SetCursorPos sets the cursor position. This hook causes it to set the "fake" cursor instead. This is important in some games that will set the mouse cursor to the centre of the screen each frame, then calculate the difference in movement each frame. This hook also prevents moving the "real" cursor, which can be problematic. Should always be enabled.
Category: Proto Input
Game.ProtoInput.SetCursorPosHook = true;
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback