Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ SetDrawFakeCursorFix
ProtoInput.SetDrawFakeCursorFix
Open in the workbench (search, and try it in a handler)
ProtoInput.SetDrawFakeCursorFix(
instanceHandle: number,
enable: boolean
): void
Switches the fake cursor to an alternative drawing mode that offsets it by the cursor image's detected hotspot and does not resize it for the monitor scale. It does not turn drawing on: ProtoInput.SetDrawFakeCursor does. Parameters: the instance handle and true/false.
Example: From Hub handlers
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.SetDrawFakeCursorFix(
player.ProtoInputInstanceHandle,
false
);
}
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