Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ UpdateMainWindowHandle
ProtoInput.UpdateMainWindowHandle
Open in the workbench (search, and try it in a handler)
ProtoInput.UpdateMainWindowHandle(
instanceHandle: number,
hwnd: number
): void
Sets which window Proto Input treats as the game's main window (focus, cursor and input messages target it). Parameters: the instance handle and the window handle; 0 makes Proto Input pick the first visible top-level window of the game itself. After a non-zero handle, Proto Input stops searching for the main window on its own.
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