ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Link punctuation layers to text, and then animating with two values

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Andrei Popa
Re: Link punctuation layers to text, and then animating with two values
on Mar 26, 2020 at 7:56:05 am

I hope I understood you right. But this will only work on one-line texts. Or perfectly justified, because if the last line is shorter, the quote will be at the end of the entire paragraph.

x=thisComp.layer("Bounding Box").sourceRectAtTime(time,true).left +
thisComp.layer("Bounding Box").transform.position[0] +
thisComp.layer("Bounding Box").sourceRectAtTime().width + 16;
y=thisComp.layer("Bounding Box").sourceRectAtTime(time,true).top +
thisComp.layer("Bounding Box").transform.position[1];
B = [x,y];
A = [960, 540];
linear(thisLayer.effect("Slider Control")("Slider"), 0, 100, A, B);


Andrei
My Envato portfolio.


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]