> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# isrbxactive

> Returns whether the current foreground window is the Roblox window found by Real. Real finds that window by enumerating windows for the current process and selecting a window whose class name is Roblox window. The function takes no arguments and returns false when no foreground window or matching Roblox window is available.

<div className="real-function-page">
  ```lua theme={null}
  isrbxactive(): boolean
  ```

  ## Aliases

  * `isgameactive`
  * `iswindowactive`

  ## Returns

  <ResponseField name={"active"} type={"boolean"}>
    True when GetForegroundWindow() returns the same HWND as the cached or newly found Roblox window window for the current process.
  </ResponseField>
</div>
