Nucleus handler tools › Docs › Game › HookSetCursorPos

Game.HookSetCursorPos

Open in the workbench (search, and try it in a handler)

Game.HookSetCursorPos: boolean

Deprecated: use Proto Input instead (see https://www.splitscreen.me/docs/protoinput).

This will hook the SetCursorPos Windows function which the game may use to set the mouse position.
This is useful to have on to prevent the game from moving the 'real' Windows mouse cursor around the screen.

Default: true · Category: Support for multiple mice and keyboards

Game.HookSetCursorPos = true;

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop