Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Add characters at the beginning of the second line

  • Andrei Popa

    January 24, 2020 at 1:10 pm

    You can do this:

    Add a text animator to your layer. Go to Range Selector>Advance> and change Units to Index and Based on to Lines.
    Set Start to 1.

    Now, if you want only second line to be moved to the right, set End to 2. If you want all your subsequent lines to go a bit to the right, set this End value to something high(the max number of lines you will ever have. Let’s say 10).

    Now go to Animator 1> Position and modify the first value of the position until you are happy with the result(this will vary based on your font and font size). You should do this with a text that starts with “.

    Now alt+click this Animator1>Position and add this as an expression. You need to copy-paste the double quotes inside that expression because some fonts have different in/out quotes.

    text.sourceText.substring(0,1) == '“' ? value : [0,0];

    Andrei
    My Envato portfolio.

  • Muhammed Şamil tekin

    January 24, 2020 at 2:00 pm

    Thank you very much for your help. Your solution worked fine.

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