Nucleus handler tools › Docs › Game.ProtoInput › FocusHooks

Game.ProtoInput.FocusHooks

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

Game.ProtoInput.FocusHooks: boolean

Hooks many functions (see the Details tab of the hook) related to the game checking if it's in the foreground or focused. Should always be enabled. Proto Input will repeatedly scan to find the main window, in case it changes.

Category: Proto Input

Game.ProtoInput.FocusHooks = true;

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop