Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:WindowGetHandleInput

From RoR Wiki
Revision as of 19:51, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Window functions
Version: WAR 1.4.8

Returns whether a window receives mouse input.

handleInput = WindowGetHandleInput(windowName)

Arguments

windowName
string – Name of the window.

Returns

handleInput
boolean – true if the window's handle-input flag is set.

Details

  • This reads the flag set with WindowSetHandleInput. See that page for what the flag does.
  • The error message names the function WindowGetHandlingInput, not WindowGetHandleInput.
  • The stock UI never calls WindowGetHandleInput.

Errors

  • Error in function call 'WindowGetHandlingInput': Window %s does not exist

Example

A minimal example built from the signature above:

if WindowGetHandleInput( "MyOverlay" ) then
    WindowSetHandleInput( "MyOverlay", false )
end

See also