-
Multiple position ease expression
I have 20 text layers. different amount of lines per text layer
It comes on from the top left side and then when the next on comes in moves down underneath, then the next one comes on from the side and again cycle continues.
I thought about cheating, so I’d use a position expression and just animate the y position and have it follow the leader.
But I need the text layer that is moving downwards to move at the same time, then next text layer is moving sidewards, but it also has to calculate how much it is moving down based on sourceRectAtTime.
I’m current thinking, my 1st text layer is the master and everyone just follows suit, but below already looks like it’s going to be really messy and I have to still include sourceRectAtTime() anyone got any ideas how to make this easier?
if(time < inPoint+1){
ease(time,inPoint,inPoint+1,[-500,200],[value[0],200])
}else if (time > thisComp.layer(index-1).inPoint && time < thisComp.layer(index-2).inPoint){
ease(time,thisComp.layer(index-1).inPoint,thisComp.layer(index-1).inPoint +1,[value[0],200],[value[0],300]);
}else if (time > thisComp.layer(index-2).inPoint && time < thisComp.layer(index-3).inPoint){
ease(time,thisComp.layer(index-2).inPoint,thisComp.layer(index-2).inPoint +1,[value[0],300],[value[0],400]);
}else{
value;
}