Skip to content

Timer:persistent

since 26.1.0

Get / Set the timer persistent attribute.

local persistent = timer:persistent([persistent])

Parameters

Name Type Required Description
persistent boolean optional

Returns

persistent (boolean)

Examples

From the official Ethos documentation
timer = model.getTimer(0)
timer:persistent(true)