getfpscap Synchronous

  • get_fps_cap

Read the currently configured frame-rate cap. Use it to display the current limit in settings or save it before a temporary change. It does not calculate an average or instantaneous frame rate.

Syntax
Luau
getfpscap() -> number

Parameters

This function takes no arguments.

Returns

number

The configured cap in frames per second, rather than a measurement of current rendering speed.

Example

Example
Luau
print("Configured FPS limit:", getfpscap())
Kawaii documentation