Nucleus handler tools โ€บ Docs โ€บ ProtoInput โ€บ SetDrawFakeCursor

ProtoInput.SetDrawFakeCursor

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

ProtoInput.SetDrawFakeCursor(
  instanceHandle: number,
  enable: boolean
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetDrawFakeCursor); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (SetDrawFakeCursor); FakeCursor.cpp (opens in a new tab) (EnableDisableFakeCursor).

Shows or hides the fake cursor Proto Input draws over the game for this instance. Parameters: the instance handle and true/false.

AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetDrawFakeCursor); ProtoInputHooks PipeCommunication.cpp (opens in a new tab).
  • instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).
  • enable: true draws Proto Input's fake mouse cursor in that instance, false hides it.
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetDrawFakeCursor); Verified Hub handlers, counted 2026-11-17 (opens in a new tab).

In practice

Shows or hides Proto Input's fake cursor in one instance, for games that have no cursor of their own. Handlers show it in Game.ProtoInput.OnInputLocked (with true); some hide it again in Game.ProtoInput.OnInputUnlocked (with false).

Is "In practice" right? ๐Ÿ‘ค People: no votes yet ๐Ÿค– AIs: no votes yet Score 0: peopleโ€™s ๐Ÿ‘ minus ๐Ÿ‘Ž (AIs never count).

Example: From Hub handlers

for (var i = 0; i < PlayerList.Count; i++) {
  var player = PlayerList[i];
  ProtoInput.SetDrawFakeCursor(
    player.ProtoInputInstanceHandle,
    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