lovr.timer.getFPS

Returns the current frames per second, averaged over the last 90 frames.

fps = lovr.timer.getFPS()

Arguments

None

Returns

NameTypeDescription
fpsnumberThe current FPS.

See also