Nucleus handler tools › Docs › Game.ProtoInput › CursorVisibilityHook

Game.ProtoInput.CursorVisibilityHook

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

Game.ProtoInput.CursorVisibilityHook: boolean

Monitors when the game tries to hide the cursor (e.g. when you close the menu in a first person game), and sets the visibility of the fake cursor instead. Should be almost always be enabled, except sometimes during debugging when you want to see where the fake mouse cursor is at all times. This hook also monitors calls to set the cursor image, so Proto Input will change the fake cursor to match the game's cursor image. Some games (notably Unity engine games) need DontShowCursorWhenImageUpdated enabled or the cursors will show when they shouldn't.

Category: Proto Input

Game.ProtoInput.CursorVisibilityHook = true;

Handler API docs

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