Skip to content

Timer:running

since 1.5.0

Return the running state of the timer.

local running = timer:running()

Parameters

None.

Returns

running (boolean)

Examples

From the official Ethos documentation
timer = model.getTimer(0)
print(timer:running())