Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ SetRawInputBypass
ProtoInput.SetRawInputBypass
Open in the workbench (search, and try it in a handler)
ProtoInput.SetRawInputBypass(
instanceHandle: number,
enable: boolean
): void
When true, raw input from every mouse and keyboard is forwarded to the game unchanged, not only from the assigned devices, and Proto Input's fake mouse and keyboard are not updated from it. Parameters: the instance handle and true/false.
instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).enable: true passes raw input from every device to the game, not just the player's; false lets Proto Input filter it per device.
Example: From Hub handlers
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.SetRawInputBypass(
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