Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Invert center delay

  • Invert center delay

    Posted by Ilya Sire on February 19, 2021 at 4:58 am

    Hi, I found this delay expression on forum, it returns a low value from center of text index, but how can I invert this to make it center value highest?

    myDelay = Math.abs((textTotal-1)/2 – (textIndex-1));

    Thank you!

    Trent Armstrong replied 5 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Ilya Sire

    February 19, 2021 at 5:43 am

    I think i got it. (textTotal-1)-Math.abs((textTotal-1)/2 – (textIndex-1))

  • Trent Armstrong

    February 19, 2021 at 3:57 pm

    Awesome! If it doesn’t work exactly like you need it to, post back here for more thoughts.

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