-
Move Current Time Indicator Forward to a specific Frame
If I want to move the CTI forward to a specific Frame. What are my choices using expressions? I have following script which does a counter. Once a Counter reaches the time. I want to move the CTI to a particular FRAME on the timeline. How can I do this using expressions:
clockStart = parseInt(comp(“main”).layer(5).text.sourceText.value);
if (time < clockStart)
0
else if (time >clockStart)
{
t= linear(time,0,clockStart,key(1).value,key(1).value-(clockStart-time-0.5));
valueAtTime(t);
}