love.timer.step

Measures the time between two frames. Calling this changes the return value of love.timer.getDelta.

Function

Synopsis

dt = love.timer.step( )

Arguments

None.

Returns

number dt Available since 11.0
The time passed (in seconds).

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.timer.step