Syntax
getfpscap(): numberAliases
get_fps_capReturns
| Name | Type | Description |
|---|---|---|
fpsCap | number | Current frames-per-second cap. |
Description
Returns the current FPS cap configured by the executor.
Call it without parameters. The function reads the needed context from the current runtime state.
It returns fpsCap (number). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = getfpscap()
print(result)