Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ StopFocusMessageLoop
ProtoInput.StopFocusMessageLoop
Open in the workbench (search, and try it in a handler)
ProtoInput.StopFocusMessageLoop(instanceHandle: number): void
Pauses the focus message loop started by ProtoInput.StartFocusMessageLoop. Parameter: the instance handle.
instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).
Example: From Hub handlers
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.StopFocusMessageLoop(
player.ProtoInputInstanceHandle
);
}
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