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

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.

✎ AI-written, based on Nucleus ProtoInput.cs (SetPutMouseInsideWindow), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp, ProtoInputHooks FakeMouseKeyboard.cpp (AddMouseDelta), FakeCursor.cpp (StartInternal). 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