Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Starting text from the bottom baseline

  • Starting text from the bottom baseline

    Posted by Andy Bryce on January 2, 2018 at 1:19 pm

    Hi all,

    I am looking for a way to start text from the bottom base line instead of naturally at the top.

    I would still like the text to read from left to right but to grow up into the text box.

    Hope you can help.

    Thanks,
    Andy

    Malte Pell replied 6 years, 12 months ago 5 Members · 11 Replies
  • 11 Replies
  • Andy Bryce

    January 2, 2018 at 5:03 pm

    Hi Dave,

    The animation is just a movement of position of the text layer under a matte.

    The reason I need the text to be inserted for the bottom is so the content can be pulled in dynamically and the text fills the section from bottom up to start close to the green line at the bottom of the text frame.

    Thanks,

  • Andy Bryce

    January 2, 2018 at 7:07 pm

    Thanks for the suggestion but Iv got the animation sorted i am then using this as a template for adverts where the content will be added dynamically from a web form.

    I would like to design this so that if there is more text / more lines this will be a good distance away from the bottom line and consitant.

  • Andy Bryce

    January 3, 2018 at 8:11 am

    It’s not about the animation at all

    It’s just how the text formats in the text window. You have left aligned / center / right align.

    All I am wondering is if there is a way to align the text to the bottom of the frame instead of the top so as more text is added in the frame it is on the bottom of the text frame and not at the top.

    I can’t find a way to do this hoping you can help

  • Kalleheikki Kannisto

    January 3, 2018 at 3:53 pm

    Yeah, it’s annoying AE doesn’t have this option in the paragraph palette.

    A simple position expression on the text layer can fix the issue:

    transform.position - [0, thisLayer.sourceRectAtTime().height-offset]

    wherein “offset” is replaced by a number that keeps the textbox in its original place when the maximum number of text lines is filled with text, i.e. type the textbox full of text before figuring out what the offset amount is.

    (Works from After Effects 13.2 forward.)

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Andy Bryce

    January 4, 2018 at 10:10 am

    This worked perfectly!

    thanks you so much

  • Tamara Heath

    July 13, 2018 at 6:43 am

    Thanks so much Kalleheikki, that’s great! Is there an easy way to adjust this expression to vertically centre the text box?

  • Kalleheikki Kannisto

    July 13, 2018 at 4:46 pm

    Add “/2” after height.

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Tamara Heath

    July 17, 2018 at 11:36 pm

    Kalleheikki you are a good man, thank you.

  • Ian Cross

    April 18, 2019 at 6:19 am

    Hello. Quick question to clarify. Does this expression move a line of text up when you press enter to start a new line? If so. Where on the text layer does this expression go?

  • Kalleheikki Kannisto

    April 18, 2019 at 7:16 am

    Yes, it does. It goes in the position property.

    In recent versions you may need to use “sourceRectAtTime(time, false)”, to make sure the content is being measured rather than the text box — although those should be the defaults.

    Kalleheikki Kannisto
    Senior Graphic Designer

Page 1 of 2

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