Nucleus handler tools β€Ί Docs β€Ί Game.ProtoInput β€Ί DontShowCursorWhenImageUpdated

Game.ProtoInput.DontShowCursorWhenImageUpdated

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

Game.ProtoInput.DontShowCursorWhenImageUpdated: 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

In practice

By engine: more common in Unity games, rarer in Source games.

Game.ProtoInput.DontShowCursorWhenImageUpdated = false;
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