Nucleus handler tools › Docs › ProtoInput › SetToggleFakeCursorVisibilityShortcut

ProtoInput.SetToggleFakeCursorVisibilityShortcut

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

ProtoInput.SetToggleFakeCursorVisibilityShortcut(
  instanceHandle: number,
  enabled: boolean,
  vkey: number
): void

Sets a key that shows or hides the fake cursor when pressed on the instance's keyboard; that key press is not passed to the game. Parameters: the instance handle, true/false to enable the shortcut, and the virtual-key code.

✎ AI-written, based on Nucleus ProtoInput.cs (SetToggleFakeCursorVisibilityShortcut), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp, ProtoInputHooks RawInput.cpp (SendKeyMessage). Not from the official docs. Is it wrong? Tell us

Handler API docs

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