ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Linking Position of text to Y value of scale

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Prasanna Srinivasan
Linking Position of text to Y value of scale
on May 4, 2018 at 11:39:19 am

Hello Everyone,

I am trying to link the position of a text to the y value of the Shape.
From the below screenshot, what i am trying to achieve is,

if i change the y scale of the shape layer, it will in turn also affect the yposition of the text.

a graph kind of example i am trying to achieve here.



I Hope i am clear in my doubt. Your help would be much appreciated.

Many thanks.

Prasanna


Return to posts index

Kalleheikki Kannisto
Re: Linking Position of text to Y value of scale
on May 4, 2018 at 1:19:50 pm

The expressions will need to take into account the origin (anchor point) of the transformation. To keep things simple, I would start with a bar that has the height of 100 and the anchor point at the bottom. Then you can calculate the position directly from the percentage. Set up that way, the position change would be 100 minus scale percentage.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Prasanna Srinivasan
Re: Linking Position of text to Y value of scale
on May 10, 2018 at 11:02:34 am

Thank You Kalleheikki Kannisto, will try that.


Return to posts index

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