Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Adding Custom Bullet Points to Paragraph Text

  • Adding Custom Bullet Points to Paragraph Text

    Posted by Joel Bellagamba on August 11, 2020 at 11:25 pm

    I want to add custom bullet points (precomposed graphics) to a dynamic block of text. It’s a template, so the text could be several lines in height and have varying font size and line spacing. The text box will always be anchored top-left.

    I realise the sourceRectAtTime expression can find the top left of the block of text but how do I position my graphic to center itself (vertically) to the first line of text (ie. as a bullet point would sit)? Is there a piece of expression code which can grab the font size, so I can use something like:

    s = sourceRectAtTime();
    l = s.left; t = s.top;
    [l, t - FONT SIZE/2]

    Or, can sourceRectAtTime see the number of lines in a text box, so I can divide up the height and work it out from that?

    I can sort out the horizontal position, just can’t work out how to align the graphic vertically when I can’t directly get the font size value.

    Simon

    EDIT: Sorry, I should have posted in the expressions forum.

    Joel Bellagamba replied 5 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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