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

# getfpscap

> Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.

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

  ## Aliases

  * `get_fps_cap`

  ## Retornos

  <ResponseField name={"fpsCap"} type={"number"}>
    Current FPS cap value, or 0 when unavailable.
  </ResponseField>

  ## Exemplo

  Read the FPS cap value currently represented by the TaskScheduler cap field.

  ```lua theme={null}
  local fpsCap = getfpscap()
  print(fpsCap)
  ```
</div>
