-
scaling a solid depending on the time
Hello,
I would like to scale a solid only on the Y axis when the time line/frames(doesn’t matter) reaches a certain number and than have it scale back.
my final comp is to have a circle of solids scaling one after the other back and forth.
this is what i have so far:
thank your for your help
scaleY=thisComp.layer("Null 1").effect("scaleY")("Slider");
m = timeToFrames()%thisComp.layer("Null 1").effect("FRQ of scale")("Slider");
maxscale = 40;
minscale = 0;
startFade = m;
fadeDur = 1;if(m==index) {
[value[0],value[1]+linear(m,startFade,startFade+fadeDur,maxscale,minscale)
];}
else{
[value[0],value[1]];
};