-
Expression for start time and duration
Hi,
I’m building a motion graphics template for a client that is a simple text typewriter effect.
Basically for any given line of text I need an expression on the range selector that I can link to a slider control for duration of text typing on from 0-100 and a slider for start time so I can control when the typing animation begins.This expression time*100 works by itself to control the duration. I can link the value to a slider ultimately and it works fine.
I used the following expression to determine start time.
timeToStart = 2; if (time > timeToStart){ wiggle(3,25); }else{ value; }this works and the animation starts at 2 seconds. The problem is this expression wiggles the value which is not what I need so I replaced “wiggle(2,25)” with “time*100” but it doesn’t seem to work. I think because the word time is already defining start time, it can’t also be used to define duration maybe?
Does anyone know how I can make this work??