Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetPutMouseInsideWindow

ProtoInput.SetPutMouseInsideWindow

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

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

When true, the fake cursor is kept inside the game window (from 0 to width minus 1) and its drawing window is placed with the game window instead of covering every screen. Parameters: the instance handle and true/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