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).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop