How to Change Anchor Point After Effects
StyleFrame Team7 min read
To change the anchor point in After Effects, select the layer, press Y for the Pan Behind tool, and drag the anchor point to the new spot in the Composition panel. Pan Behind moves the pivot without shifting the layer's visible position, unlike typing new values into the Anchor Point property. Hold Shift to constrain movement to a straight line, hold Cmd/Ctrl to snap to the layer's edges, corners, or center, and press Cmd+Option+Home (Mac) or Ctrl+Alt+Home (Windows) to recenter it.
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, but they are tied together visually: change one without compensating with the other and the layer appears to jump.
Set the pivot before you animate. A door hinge, a clock hand, a logo that should scale from its bottom edge, and a character's shoulder joint all depend on a correct pivot. Fixing it later, once keyframes and expressions exist, is far more tedious than fixing it first.
To check where a layer's anchor point is, select it and press A to reveal the Anchor Point property. The coordinates are in layer space, not composition space, which matters for the defaults described below.
Method 1: Pan Behind Tool (Fastest for Static Layers)
This is the standard approach and the one to use most of the time.
- Select the layer in the timeline.
- Press Y or choose the Pan Behind tool from the toolbar.
- Drag the anchor point icon in the Composition panel to its new position.
- Press V to return to the Selection tool.
Pan Behind adjusts both Anchor Point and Position behind the scenes so the layer stays visually put. If the Transform values are open, you can watch both numbers change as you drag.
Useful modifiers while dragging
- Shift locks movement to the horizontal or vertical axis, which is handy for keeping a pivot aligned with the layer's center line.
- Cmd/Ctrl snaps the anchor point to the layer's bounding box: edges, corners, and center. You can also enable snapping in the toolbar instead of holding the key.
- Option/Alt reverses the behavior: the anchor point stays fixed in the composition while the layer moves around it. Use it when you want to reposition the layer relative to a pivot that is already where you need it.
Method 2: Center the Anchor Point
Centering is the most common fix, and there are several routes.
- Keyboard shortcut: Select the layer and press Cmd+Option+Home (Mac) or Ctrl+Alt+Home (Windows). On a Mac laptop without a Home key, use Fn+Left Arrow in place of Home.
- Menu command: Choose Layer > Transform > Center Anchor Point in Layer Content. This is useful for text layers.
- Tool shortcut: With a layer selected, Cmd/Ctrl+double-click the Pan Behind tool in the toolbar.
The keyboard shortcut and the tool shortcut both work on multiple selected layers at once, so you can recenter a whole stack in one action.
Make new shape layers center by default
New shape layers often start with the anchor point at the composition center (coordinates 0,0) rather than the center of the shape. To change that, open After Effects > Settings (Preferences on older versions) > General and enable Center Anchor Point in New Shape Layers. It is worth doing once and forgetting about.
Method 3: Edit the Anchor Point Values Directly
You can type numbers into the Anchor Point property in the timeline, or scrub them. This is precise, and it is the right choice when you need an exact pixel coordinate or want to link the value to an expression or slider.
The catch is that the layer moves. Changing the Anchor Point value alone shifts where the layer renders, because Position is not compensated. If you need that precision without the jump, change the anchor point numerically and then adjust Position by the same offset. For simple 2D layers, that means adding the change in anchor point to Position.
Know the Default Anchor Points by Layer Type
Anchor points do not start in the same place on every layer, which explains a lot of "why is it rotating from over there?" moments.
- Footage and solids: centered on the layer.
- Imported vector art (such as Illustrator files): centered visually, but the coordinates reflect the layer's dimensions, not 0,0. Typing 0,0 sends the pivot to the top-left corner.
- Null objects: top-left corner by default.
- Text layers: usually at the left baseline for left-aligned text, and at the horizontal center of the baseline for centered paragraphs.
- Shape layers: the composition center unless you changed the preference above.
When a layer misbehaves, press A and compare the values against what you expect.
Changing the Anchor Point on an Animated Layer
This is where the quick method breaks down. Pan Behind updates the anchor point and compensates Position only at the current time. If Position, Scale, or Rotation already has keyframes, or if expressions and parenting reference the layer, the rest of the animation is not recalculated, and the layer can drift away from its intended path on other frames.
You have a few reliable options.
Parent the layer to a null at the pivot you want
Create a null, position it where the pivot should be, and parent the layer to it. Then drive rotation and scale from the null. The original layer keeps its animation untouched, and you gain a controllable pivot that you can move or animate later. This is the cleanest approach for rigs and character limbs.
Precompose the animated layer
Precompose with "Move all attributes into the new composition," then adjust the anchor point on the new precomp layer. The inner animation stays intact, and the outer layer gets a fresh transform with the pivot you need. The trade-off is an extra nesting level, so name your precomps clearly.
Reset and re-key
If the animation is short and simple, remove the keyframes, fix the pivot, and re-animate. It sounds crude, but for a few keyframes it is often faster than debugging offsets.
Use a script or plugin
Several third-party scripts and extensions recalculate Position keyframes and expressions when the anchor point changes, and can batch-process many layers. If you adjust pivots on dense timelines regularly, evaluate one against your own rigs, since expressions, 3D layers, and mattes are the edge cases where results vary.
3D Layers and Camera Considerations
On 3D layers, the anchor point has a Z component, and Pan Behind can be unreliable, so in a perspective view you may not land where you expect. Consider switching to an orthographic view (Front, Top, or Left) before dragging, or enter the values directly. For rotation around a specific axis, check the Orientation and X/Y/Z Rotation values rather than eyeballing it in a perspective camera.
Where Styleframe Fits Into This Workflow
Anchor point work usually starts after you have the elements you need. If you bring generated or restyled shot elements into your compositing app, the pivot work still happens there. An isolated subject, for instance, still benefits from a deliberate pivot (a foot-planted character, a rotating product) before you start keyframing.
Quick Troubleshooting
- The layer jumped when I changed the anchor point: You edited the property value instead of using Pan Behind. Undo, then use Y, or offset Position to compensate.
- I can't get the anchor point to snap: Hold Cmd/Ctrl while dragging, or enable snapping in the toolbar. Snapping also requires the Pan Behind tool to be active.
- The Pan Behind tool is hidden: It shares a spot with other tools in the toolbar. Press Y to bring it up.
- My animation broke after moving the pivot: The layer has keyframes or expressions. Undo and use a parent null or precomp instead.
- The anchor point is at the corner of the comp: Likely a new shape layer. Center it with the shortcut and enable the preference described earlier.
A Short Checklist
- Import or create the layer.
- Press A to see the anchor point values.
- Press Y and place the pivot, snapping with Cmd/Ctrl when you need edges or center.
- Press V, then start keyframing.
- For anything already animated, use a null parent or precomp rather than dragging the pivot.
Get the pivot right first and rotation, scaling, and parenting all behave predictably for the rest of the project.