iswindowactive
Checks whether a Vortex window is available for input.
Syntax
Signature
iswindowactive() -> booleanAliases
isgameactiveisrbxactive
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
boolean | True when the platform reports an active game window. |
Notes
Windows requires the foreground window to belong to this process and be visible and not minimized. macOS uses the active native game window.
Example
Luau
local Result = iswindowactive()
print(Result)