hi
I want to make a counter that automatically changes from zero to the number that I change the text.
I desperately need it.
thanks
custom number counter
-
- Posts: 3
- Joined: February 16th, 2020, 5:03 am
-
- Posts: 1
- Joined: February 23rd, 2022, 12:29 pm
I set up a control slider (called Controls) with an Animation Length slider and a Numbers - Whole slider
In the Source Text layer:
beginTime = 0;
endTime = thisComp.layer("Controls").effect("Animation Length")("Slider");
startVal = 0;
endVal = thisComp.layer("Controls").effect("Numbers - Whole")("Slider");
AnLength = thisComp.layer("Controls").effect("Animation Length")("Slider");
Math.round(linear(time,beginTime,endTime,startVal,endVal))
This allowed me to set the time of the animation as well as the end number for the counter.
Hope this helps