iswindowactive

Checks whether a Vortex window is available for input.

Syntax

Signature
iswindowactive() -> boolean

Aliases

  • isgameactive
  • isrbxactive

Parameters

This function takes no parameters.

Returns

TypeDescription
booleanTrue 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)