> ## 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

> Tra ve viec current foreground window co phai Roblox window ma Real tim thay hay khong. Real tim window do bang cach enumerating windows cho process hien tai va chon window co class name la Roblox window. Function nay khong nhan arguments va tra ve false khi khong co foreground window hoac matching Roblox window.

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

  ## Alias

  * `isgameactive`
  * `iswindowactive`

  ## Giá trị trả về

  <ResponseField name={"active"} type={"boolean"}>
    True khi GetForegroundWindow() tra ve cung HWND voi cached hoac newly found Roblox window window cho process hien tai.
  </ResponseField>
</div>
