-
Expression for start time and animation time
Hi. I’m building a motion graphics template for a client which is a very simple typewriter effect and I need the following slider controls to be included.
The amount of text per line will be different all the time so I need to be able to control the amount of time between 0-100 on the range selector. I was using this expression which works.
time*100 (the 100 would be a slider control ultimately)
But I also need a slider for when the write on effect begins for any given line of text. There are multiple lines of text so I need to be able to adjust the start time of each line accordingly.
I tried using this expression which works as is (it starts wiggling the value at 2 seconds). The 2 in this scenario would also be a slider control. I switched out the “wiggle (3,25);” part for “time*100;” but it’s not working I think because time is already being used to define the start of the animation it can’t also be used to define the 0-100 duration maybe?
timeToStart = 2; if (time > timeToStart){ wiggle(3,25); }else{ value; }Anyone know of a way to set this up?