ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

parScale expression question

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Cisco Torres
parScale expression question
on Aug 21, 2019 at 6:15:45 pm

I am opening up someone else's project and they have this expression on the scale parameter of a shape layer...

parScale = (hasParent) ? div(parent.scale,100) : [1,1];
[value[0]/parScale[0], value[1]/parScale[1]]

Could someone help me understand what is happening?


Return to posts index

Dan Ebberts
Re: parScale expression question
on Aug 22, 2019 at 6:20:41 am

The expression undoes the effect of any scaling of the layer's parent.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved