Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ Values.ClipCursorHookID
ProtoInput.Values.ClipCursorHookID
Open in the workbench (search, and try it in a handler)
ProtoInput.Values.ClipCursorHookID: number
Selects the ClipCursor hook (ID 9): the game's ClipCursor no longer confines the real cursor; by default it confines the fake cursor instead (see ProtoInput.SetCursorClipOptions). Pass it to ProtoInput.InstallHook or ProtoInput.UninstallHook.
Default: (uint)ProtoHookIDs.ClipCursorHookID
Example: Generated from its type and default, not from the docs or Hub handlers.
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.InstallHook(
player.ProtoInputInstanceHandle,
ProtoInput.Values.ClipCursorHookID
);
}
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback