Skip to main content
Participant
February 11, 2020
Question

Position text/shape relative to bottom of layer with SourceRectAtTime()

  • February 11, 2020
  • 2 replies
  • 1835 views

I need to position a text layer (inside an auto-scaling shape box) relative to the text layer above it.

My goal is to produce an essential graphics file with dynamic text boxes vertically positioned.


i.e.


HEADING
HEADING SECOND LINE

Paragraph starts here, relative to heading above.

Second paragraph starts here, relative to paragraph above.


I've managed to sort of get this working through parenting and anchor offset. However when I type more than one line into the first or second paragraph above, the position alignment goes off.

I think this is due to the auto-scale text box using a centre anchor position.

I've used this tutorial here to create the auto-scaling text boxes.
https://www.youtube.com/watch?v=In4miXUdxko

This topic has been closed for replies.

2 replies

Mylenium
Legend
January 5, 2023

You cannot have things that way. AE has no way of looking inside the internal formatting of a text block. All text blocks must be separate layers and then of course you can add up the different sourceRectAtTime() values or whatever is used.

 

Mylenium

Participant
January 5, 2023

Hi,

 

Did you ever work this out? I'm trying to do the same thing

 

Thanks

L