Thanks for quick response.
Well. Its kind of a chain reaction kind of a thing.
I am using comps from spreadsheets to input text in four different textlayers. The textlength vary between one and three lines. To make the expression work I made a new textlayer (“Textlayer”) which uses the sourcetext from the four original layers at certain times (see expression below).
So I guess we could make some sort of time markers since its always happening at the same time…
The main objective is to make the textbox scale up or down accordingly to the number of rows in the texts with an animation.
if(time<8)(thisComp.layer("^Text1").text.sourceText)
else if(time<15)(thisComp.layer("^Text2").text.sourceText)
else if(time<23)(thisComp.layer("^Text3").text.sourceText)
else(thisComp.layer("^Text4").text.sourceText);