Hello Dan,
Thank you for your answer!
But it does not work for my purpose… I changed a very little bit your code to make one only line appearing :
delay = 0;
dur = .0001;
txt = text.sourceText;
splitTxt = txt.split(“\r”);
lineIdx = 1;
totalChars = splitTxt[0].length;
lineStartIdx = 1;
while (textIndex > totalChars){
lineIdx++;
lineStartIdx = totalChars+1;
totalChars += splitTxt[lineIdx-1].length;
}
if (lineIdx == 1){
myIndex = textIndex-lineStartIdx;
myDelay = delay*myIndex;
linear(time,inPoint+myDelay,inPoint+myDelay+dur,100,0);
}else
100
But my goal was to duplicate this animator to add another animation to the second line, then duplicate to add a third animation, etc… But when I duplicate and change the “lineIdx == 2”, it makes the first animator disappeared, so I cannot stack the animators….
But maybe it is not possible?
Thank you very much for your first post!