Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression for start time and animation time

  • Expression for start time and animation time

    Posted by Erik Fashingbauer on September 10, 2020 at 11:59 pm

    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?

    Filip Vandueren replied 5 years, 11 months ago 2 Members · 3 Replies
  • 3 Replies
  • Filip Vandueren

    September 11, 2020 at 9:36 am

    What property are you applying this expression to ?

  • Erik Fashingbauer

    September 22, 2020 at 1:32 am

    I’m applying it to the start range of the range selector

  • Filip Vandueren

    September 22, 2020 at 7:47 am

    A few questions:

    Is every line on its own text layer?

    Or Is it multi-line text, if so: wrapped by a textbox, or manually wrapped with enters?

    Would you know the amount of lines beforehand and do you want as many separate sliders to controle each line.

    Or 1 slider that sets the delay globally?

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy