Skip to content

Timer:start

since 1.1.0

Get / Set the start value of the timer.

local start = timer:start([start])

Parameters

Name Type Required Description
start integer optional

Returns

start (integer)

Examples

From the official Ethos documentation
timer = model.getTimer(0)
timer:start(60) -- seconds
print(timer:start())