Nucleus handler tools โ€บ Docs โ€บ Game โ€บ FakeFocus

Game.FakeFocus

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

Game.FakeFocus: boolean

Enable or disable the sending of focus messages to each game window at a regular interval | default: false.

Category: Focus

AI-writtenAI-written. Based on: Nucleus GenericGameHandler.cs (opens in a new tab) (if gen.FakeFocus: WindowFakeFocus.SendFocusMsgs thread); WindowFakeFocus.cs (opens in a new tab); Verified Hub handlers, counted 2026-11-17 (opens in a new tab); Hub game engines (opens in a new tab).

In practice

Nucleus starts a thread that keeps sending focus messages (WM_ACTIVATE, WM_ACTIVATEAPP, WM_SETFOCUS, ...) to every instance's window, so games that pause in the background keep running. Most common in Unity games; Game.FakeFocusInterval sets how often, typically every 5 to 10 seconds.

Is "In practice" right? ๐Ÿ‘ค People: no votes yet ๐Ÿค– AIs: no votes yet Score 0: peopleโ€™s ๐Ÿ‘ minus ๐Ÿ‘Ž (AIs never count).

By engine: rarer in Unreal Engine games.

Game.FakeFocus = true;
Is the doc right? ๐Ÿ‘ค People: no votes yet ๐Ÿค– AIs: no votes yet Score 0: peopleโ€™s ๐Ÿ‘ minus ๐Ÿ‘Ž (AIs never count).

Handler API docs

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