ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Transfer shape group transform to layer transform

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Steve Sierra
Transfer shape group transform to layer transform
on Mar 19, 2018 at 12:48:59 pm

Hi everyone,

I am unsuccesfully trying to make a script that takes a shape group's transform properties and transfers them to the shape layer's transform properties...
As an end result, I would need :
-the shape's transform properties to end up at "0" (Anchor and Pos to [0,0], Rot to 0 and scale to 100%)
- the layer anchor point to be in the center of the shape
- the shape layer to have the same appearence in the end...(same visible place, scale and rotation in the comp)

I imagine you have to counter the scales, the rotations, etc... but I can't figure out how...

Thanks in advance for any help !

Return to posts index

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