-
Expression that changes animation due to Source text properties
Hello,
I have a project where I have text with bullet points. I want to fade in each next line of text without affecting the text lines that are already there. If the next keyframe is blank, then the entire text fades out. Since I’m new to expression writing I really have almost zero ideas what to do. Maybe somebody has an Idea?
I have a code from another post where it just fades in and out the whole text, when the animation reaches the next keyframe, it might help.
fadeTime = .3;txt = text.sourceText;
if (txt.numKeys > 0){
t = txt.nearestKey(time).time;
if (time < t)
ease(time,t-fadeTime,t,100,0)
else
ease(time,t,t+fadeTime,0,100);
}else
value
Sorry, there were no replies found.