Tutorial || 3D Countdown | Element 3D
code
beginCount =thisComp.layer(“Counter”).effect(“Slider Control”)(“Slider”);
stopCount = thisComp.layer(“Counter”).effect(“Slider Control”)(“Slider”);
beginTime = 0; // start counting at time = 0
countDur = 5; // count for 5 seconds
Math.round(linear(time,beginTime,beginTime + countDur,beginCount,stopCount)) + “%”