Nucleus handler tools › Docs › ProtoInput › Values.FocusHooksHookID

ProtoInput.Values.FocusHooksHookID

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

ProtoInput.Values.FocusHooksHookID: number

Selects the focus hooks (ID 10): GetForegroundWindow, GetActiveWindow, GetFocus, GetCapture and WindowFromPoint return the game's main window, and SetFocus, SetForegroundWindow and similar calls do nothing, so the game believes it always has focus. Pass it to ProtoInput.InstallHook or ProtoInput.UninstallHook.

✎ AI-written, based on Nucleus ProtoInput.cs (ExposedValues, ProtoHookIDs), ProtoInputHooks FocusHook.cpp (GetHwnd, InstallImpl). Not from the official docs. Is it wrong? Tell us

Default: (uint)ProtoHookIDs.FocusHooksHookID

Handler API docs

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