lovr.timer.getAverageDelta

Returns the average delta over the last second.

delta = lovr.timer.getAverageDelta()

Arguments

None

Returns

NameTypeDescription
deltanumberThe average delta, in seconds.

See also