# Timer Quick API reference ```lua timer:init(node, [seconds_from], [seconds_to], [callback]) timer:on_layout_change() timer:set_interval(from, to) timer:set_state([is_on]) timer:set_to(set_to) timer:update(dt) ```