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

ProtoInput.AllowFakeCursorOutOfBounds

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

ProtoInput.AllowFakeCursorOutOfBounds(
  instanceHandle: number,
  allowOutOfBounds: boolean,
  extendBounds: boolean
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (AllowFakeCursorOutOfBounds); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (SetIgnoreMouseBounds, SetExtendMouseBounds); FakeMouseKeyboard.cpp (opens in a new tab) (AddMouseDelta).

Changes how far the fake cursor can move. Parameters: the instance handle, allowOutOfBounds (true: no limit at all) and extendBounds (true: the limits reach past the window edges, by 100 pixels or, with ProtoInput.SetPutMouseInsideWindow, to twice the window size).

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