ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expressions: Move two text lines

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Miki Colomer
Expressions: Move two text lines
on Feb 28, 2020 at 8:02:26 pm

Hi!

I'm fairly new to expressions and I'm not exactly sure how to proceed with this.

I want to create a lower third template with essential graphics.

I have two lines, and I want to move the position of the second line according the amount of text of the first line.

You can view and example for understanding better.







Any help is much appreciated ☺ and sorry for my English :(


Return to posts index

Mikael Holmström
Re: Expressions: Move two text lines
on Mar 16, 2020 at 9:28:48 am

On the second text layer (the one to the right), add the code below to the position property. Make sure not to mess with the scale property of the first text layer (the one to the left).
//Mikael

value+[thisComp.layer("Text layer 1").sourceRectAtTime(time).width, 0];


Return to posts index

Miki Colomer
Re: Expressions: Move two text lines
on Mar 18, 2020 at 10:37:15 am

Woowwww THANK YOU!! But....

Look what happen:







the second text line don't move exactly in the same speed that the first text line.

Can you help me?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]