How to Move an Anchor Point in After Effects
StyleFrame Team7 min read
To move an anchor point in After Effects, select the layer, press Y to activate the Pan Behind tool, and drag the anchor point in the Composition panel. The layer stays visually in place while the pivot for rotation and scale changes. Hold Shift to constrain movement to an axis, hold Cmd/Ctrl to snap to the layer's edges, corners, or center, and press V to return to the Selection tool. Do this before you set any transform keyframes, because moving the anchor afterward breaks existing animation.
What the Anchor Point Does
The anchor point is the origin for a layer's transformations. Rotation pivots around it, scale grows or shrinks from it, and Position describes where that point sits in the composition. Anchor Point and Position are separate properties. Position says where the layer's anchor lives in the comp, while Anchor Point says which spot on the layer is the anchor.
This is why typing a new value into the Anchor Point property in the Timeline makes the layer jump. You changed which part of the layer is pinned to the Position coordinate, so the layer shifts to compensate. Pan Behind avoids this by adjusting both values together, so the pixels stay where they were.
To see the property, select a layer and press A.
Move the Anchor Point with the Pan Behind Tool
- Select the layer. The anchor handle only appears for selected layers.
- Press Y. You can also pick Pan Behind from the toolbar. The cursor changes, and the anchor point icon becomes draggable.
- Drag the anchor point. Watch the Anchor Point values update in the Timeline as you move.
- Press V. This returns you to the Selection tool so you don't drag the pivot by accident on your next click.
If you open the Transform properties while dragging, you'll see Anchor Point and Position change in tandem. That is the tool compensating so the layer doesn't visibly move.
Modifier keys worth memorizing
- Shift + drag: Constrains the move to a straight horizontal or vertical line, which helps with pixel-clean pivots.
- Cmd/Ctrl + drag: Snaps the anchor to layer bounds: edges, corners, and center. You can also turn on snapping in the toolbar instead of holding the key.
- Option/Alt + drag: Reverses the behavior. The anchor stays put while the layer moves around it. This is useful when you want to reposition the artwork against a fixed pivot.
Center the Anchor Point
You often want the pivot in the middle of the artwork. There are several ways to get there:
- Keyboard shortcut: Cmd+Option+Home on Mac, or Ctrl+Alt+Home on Windows. On a laptop without a Home key, try Fn plus the left arrow.
- Menu: Layer > Transform > Center Anchor Point in Layer Content.
- Tool shortcut: Cmd/Ctrl + double-click the Pan Behind tool in the toolbar.
The keyboard shortcut and the Pan Behind double-click work on several selected layers at once, so you can reset a whole stack of pivots in one move.
Make new shape layers center by default
New shape layers start with their anchor at the composition's center, with the anchor value at 0,0. That is rarely where you want the pivot. In Preferences > General, enable Center Anchor Point in New Shape Layers. After that, every new shape gets a pivot at the center of its own content.
Why Default Anchor Points Differ by Layer Type
Starting positions vary, and knowing them saves time when a rotation looks wrong.
- Solids and footage: The anchor starts at the center of the layer.
- Shape layers: The anchor is at 0,0 relative to the shape's origin, which typically sits at the comp center unless you change the preference above.
- Null layers: The anchor starts at the top-left corner, at 0,0.
- Text layers: Left-justified text puts the anchor at the baseline on the left. Center-justified text places it at the horizontal center of the baseline.
- Imported vector art: An Illustrator file is centered, but its coordinates reflect the layer dimensions rather than 0,0. A value like 172,172 is normal. Typing 0,0 moves the pivot to the top-left corner.
If you're checking a pivot numerically, remember that the same visual spot can have different values on different layer types.
Shape Layers Have Two Levels of Anchor Points
Shape layers add a wrinkle: the layer has its own Transform, and every shape group inside it has another. Pan Behind moves the layer-level anchor. If you want one shape in a group to rotate around its own center, expand the contents, open that group's Transform, and set its Anchor Point there. This matters for character rigs and icon animation, where several shapes live on one layer but need different pivots.
Move an Anchor Point on an Already Animated Layer
Pan Behind is simple, but it has a real limit. It compensates only for the current value of Position. If Position, Scale, or Rotation already have keyframes or expressions, the keyframes you set earlier aren't recalculated. The layer looks right on the frame you're on and then drifts on others. Expressions that use layer-space conversions such as toComp() or toWorld() can also give different results after the pivot changes.
You have a few options, ordered roughly from most to least reliable:
Parent to a null at the pivot you want
Create a null, place it where the pivot should be, and parent the layer to it. Then animate rotation and scale on the null. This leaves the layer's existing animation untouched and gives you a separate control, which is also easier to hand off or rig.
Pre-compose the layer
Pre-compose with "Move all attributes into the new composition," then adjust the anchor of the new precomp layer. The original animation stays inside the nested comp, and the outer layer gets a clean pivot. The tradeoff is an extra nesting level, which can complicate collapse transformations and render order.
Offset the keyframes manually
If the layer only animates Position and has no rotation or scale, you can move the anchor and then select all Position keyframes and shift them by the difference. The math gets messy once rotation or scale are involved, so avoid this on complex layers.
Use a script or extension
Several third-party tools recalculate keyframes and expressions when the anchor changes, and some support batch operations. They can save real time on a rig-heavy project. Test on a duplicate first, since masks, mattes, and 3D layers are the usual edge cases.
3D Layers
3D layers are one of the usual edge cases when you change an anchor point. Check the result from multiple angles, because a pivot that looks right in one view may sit off in another.
Common Mistakes to Avoid
- Typing a new Anchor Point value and wondering why the layer moved. Use Pan Behind, or compensate in Position.
- Moving the pivot after animating. Set it first, or use the null or precomp approaches above.
- Forgetting to press V. Leaving Pan Behind active causes accidental pivot drags.
- Centering when you wanted a hinge. Doors, arms, and pendulums need the pivot at the joint, not the middle.
- Missing group-level anchors on shape layers. If a shape rotates around the wrong spot, check its group transform.
Quick Reference
FAQ
Why does my layer move when I change the Anchor Point value? Editing the number only changes which spot on the layer is pinned to Position. Use Pan Behind in the viewer, which adjusts both values together.
Can I move an anchor point after I've keyframed the layer? Yes, but existing keyframes won't update automatically. Parenting to a null or pre-composing is safer than dragging the anchor on an animated layer.
What is the shortcut for the Pan Behind tool? Y.
How do I make the anchor point rotate around a corner? Press Y, hold Cmd/Ctrl, and drag the anchor point toward the corner so it snaps there. Then rotate the layer as usual.