lovr.timer.getTime

Returns the time since some time in the past. This can be used to measure the difference between two points in time.

time = lovr.timer.getTime()

Arguments

None

Returns

NameTypeDescription
timenumberThe current time, in seconds.

See also