Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions TEXT SELECTOR EXPRESSIONS (select characters one by one and do the same thing to them)

  • TEXT SELECTOR EXPRESSIONS (select characters one by one and do the same thing to them)

  • Patrick Traile

    February 24, 2020 at 9:54 pm

    Hi, I’m looking for a simple solution to using expression selectors to select each letter one by one and do the same thing to each of them sequentially. This is to further my knowledge of selector expressions and how to use textIndex. Thanks in advance.

  • Dan Ebberts

    February 24, 2020 at 10:27 pm

    This simple example should select each character in sequence, starting at one second:

    textIndex == Math.floor(time) ? 100 : 0

    and apply the max amount of the Animator property to the selected character.

    Dan

  • Patrick Traile

    February 25, 2020 at 12:47 am

    Hi Dan, thanks much this did work, however, I have it on the scale property and once the frame is no longer equal to the index number, the character is no longer affected by the expression selector, so it doesn’t stay scaled, it reverts back to the original scale. How would you solve this in the expression?

  • Dan Ebberts

    February 25, 2020 at 12:50 am

    Just change it to this:

    textIndex <= Math.floor(time) ? 100 : 0

    Dan

  • Patrick Traile

    February 25, 2020 at 12:58 am

    Thanks again Dan, the transition is very rigid from letter to letter, how can I smooth this out and make it interpolate in transition from letter to letter? Is using something like linear() the best way? how would you do this? I’m looking to build up an arsenal of techniques to do custom text animations using purely expressions!

  • Dan Ebberts

    February 25, 2020 at 1:20 am

    Something like this maybe:

    linear(time,textIndex-.25,textIndex,0,100)

    Dan

  • Patrick Traile

    February 25, 2020 at 1:48 am

    This is Awesome Dan, Thank you very much!

Viewing 1 - 7 of 7 posts

Log in to reply.

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