-
After Effects expression “Expecting: ;” or “Expecting: )”error.
i take the error for first else loop which is in line 6 in my After Effects. if there is more error in code i dont know its because i cant pass 6.line. help please.
A = timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false);
if (A< 20) {y =A/4}
else {
if(A<40) {y=3A/4} else {
if(A<60) {y=A/2} else {
if(A<80) {y=(3A-40)/2} else {
if(A<100) {y=3A/4} else{y=(5A-200)/4} }}}};[y,y]