-
Randomize slider every 30 frames
Hey guys, I am really stuck on this one. So I have 6 layers in the composition, 5 graphics, and one Settings layer. There is a slider control on the settings layer with rounded options from 1 to 5 with expression Math.floor(clamp(value, min=1, max=5))
Each graphic is related to the slider on the settings layer with expression
v = thisComp.layer(“Settings”).effect(“Select Version (1-5)”)(1);
if (v==index-1) {100} else {0}
so I can control visibility with slider from first to fifth element.
I would love to randomize order on the slider, to change from 1 to 5 every 30 frames, and also to control it with the checkbox, so I could choose if I want only one layer to be shown or to randomize visibility every 30 frames.
Cheers!