lovr.timer.getTime

Edit

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
timenumber The current time, in seconds.

See also