ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

# Moving the anchor point without moving a layer's location

FAQ   •   VIEW ALL
 Moving the anchor point without moving a layer's location by Danielaon Jan 26, 2007 at 8:00:12 pm

I was wondering if there is a tool that I can use to move a layer's anchor point without moving the layer's location, like you can do in Illustrator, where one can change the anchor point with the rotation tool, for example.

I am animating a character and when I change the anchor point of the arm, for example, then, I have to re-position the arm again in its former location. It is kind of double work... It should be a way to do it without this extra work of re-locating the element position...

D.

 Re: Moving the anchor point without moving a layer's locationon Jan 26, 2007 at 8:26:13 pm

Use the Pan Behind tool. It looks kind of like this:

[o]

or, keyboard shortcut = Y

Dan

 Re: Moving the anchor point without moving a layer's locationon Mar 5, 2013 at 9:37:15 pm

Ok, but what if I want to move the anchor point with out moving the layer AND I need it to hit a precise location?

Basically, I'm bring many layers into a comp and I need them to "land" in an exact location with their anchor points being the same as well (so they will scale the same). Punching in numbers would be exact - using the "pan behind tool" is just a rough guess.

 Re: Moving the anchor point without moving a layer's locationon Jun 19, 2013 at 9:53:42 am

Sorry, I don't know of a way of doing this but if anyone does it'll be really useful. Particularly for 3D layers where using the pan behind shifts the anchors zpos

--

this is something that should be build into after effects but you could use this expression as a work around. (it's a bit crude maybe someone can make it better).

on a 2d solid's position property put this:

``` a = transform.anchorPoint; p = transform.position; x = p[0]+(a[0]-50); y = p[1]+(a[1]-50); [x,y] ```

You'll need to put the anchor points starting position in place of the 50s (for example on a default 1920x1080 solid you'll need to put 960 and 540)

 Re: Moving the anchor point without moving a layer's locationon May 7, 2014 at 6:30:22 am

use a null object and parent all layers to it.
If you want all pieces to stay in their original position, bring in the comp into a new layer and work inside that comp to mess with layers individually (or make that comp your main comp)
Hope this helps

 Re: Moving the anchor point without moving a layer's locationon May 22, 2014 at 9:38:46 pm

You definitely want to have this
http://www.batchframe.com/extras/info/Move%20Anchor%20Point

Free and one of the most useful scripts I've ever had :)

Enjoy!!!