love.timer.getTime
Returns the value of a timer with an unspecified starting time. This function should only be used to calculate differences between points in time, as the starting time of the timer is unknown. Function Synopsis time = love.timer.getTime( ) Arguments None. Returns number time The time in seconds.
Examples Checking how long something takes local start = love.timer.getTime()
-- Concatenate "bar" 1000 times.
local foo = ""
for _ = 1, 1000 do
foo = foo .. "bar"
end
-- Re