panels icon indicating copy to clipboard operation
panels copied to clipboard

Advance sequence to target on timer/delay?

Open clarklab opened this issue 5 months ago • 1 comments

Hey hey! Me again! I've scoured the docs (and tried with Copilot) to find a way to auto-advance a sequence to another target sequence after a certain delay. Is that possible? Pseudo code incoming:

{ 
	-- sequence 1
	title = "Teeth",
	axis = Panels.ScrollAxis.VERTICAL,
	backgroundColor = Panels.Color.BLACK,
	audio = {file = "teeth", loop = false },
	scrollType = Panels.ScrollType.AUTO,
        advanceTimer = {target = 4, delay = 3500 }
...

That advanceTimer is the bit I'm looking to solve for. My guess is the answer is maybe an advanceFunction, but it looks like those only work per panel, and I need the sequence to advance regardless of current panel. Any ideas?

clarklab avatar Sep 04 '24 07:09 clarklab