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.
Luau
getfpscap() -> numberParameters
This function takes no arguments.
Returns
numberThe configured cap in frames per second, rather than a measurement of current rendering speed.
Example
Luau
print("Configured FPS limit:", getfpscap())