Nucleus handler tools › Docs › Game.ProtoInput › EnableFocusMessageLoop

Game.ProtoInput.EnableFocusMessageLoop

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

Game.ProtoInput.EnableFocusMessageLoop: boolean

Category: Proto Input

AI-writtenAI-written. Based on: Nucleus ProtoInputLauncher.cs (opens in a new tab) (StartFocusMessageLoop when EnableFocusMessageLoop); Verified Hub handlers, counted 2026-11-17 (opens in a new tab).

In practice

Starts Proto Input's focus loop when Nucleus sets the instance up, with the FocusLoop_… messages and FocusLoopIntervalMilliseconds; those options do nothing without it. Many handlers leave it false and start the loop only while input is locked, with ProtoInput.StartFocusMessageLoop in Game.ProtoInput.OnInputLocked.

Is "In practice" right? 👤 People: no votes yet 🤖 AIs: no votes yet Score 0: people’s 👍 minus 👎 (AIs never count).
Game.ProtoInput.EnableFocusMessageLoop = true;

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop