ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Set anchor point to composition center.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Guilherme Pereira
Set anchor point to composition center.
on Jul 5, 2017 at 12:08:31 pm

Hey, guys!

I'm looking for an expression to set the layer anchor point to the center of the composition.

I'm using that expression on the position to be able to move the anchor point and keep the layer in the same position:

position-[width/2-anchor_point[0],height/2-anchor_point[1],-anchor_point[2]]


I've tried a lot of things, but none of them works as expected.

Because of the anchor point reference in the layer's center. It means that each layer needs a different anchor point value to be on the composition center.

Thanks in advance!


Return to posts index

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