In this After Effects Fundamentals lesson, you'll learn all about parenting.
Parenting is a way to connect layers so a child layer inherits the animation of a parent layer. This can also be done with properties (as opposed to entire layers).
In this lesson, you'll learn how and why to use parenting and how to utilize invisible layers (nulls) as controllers.
Jump to topic on this page:
Find in video:
0:27
2:54
4:09
To parent layers, drag the pick whip (spiral icon) of the layer you want to be the child onto the layer you want to be the parent. Remember the child layer will inherit animations that are on the parent layer.
Where your playhead is on the timeline matters when parenting layers. Wherever your playhead is will determine how the animations on the parent are inherited on the child layer.
First select multiple layers that you want to be children (click the first layer, hold shift, click the last layer, OR hold ⌘/Ctrl while selecting layers). Then drag the pick whip of any one of the children-to-be layers to the layer you want to be the parent.
Use the drop down menu on the child layer to select "None". Or ⌘/Ctrl click on the pick whip of the child layer. Both these methods also work with multiple child layers selected.
Where your playhead is also matters if you decide to unparent layers. Wherever your playhead is when you unparent is where the child layer will be "dropped off" (i.e. it will stay where you left it).
Note: The opacity property doesn't participate in parenting. You have to parent the child's opacity property to the parent's opacity property (see below for how to parent properties).
If you want a layer to have one of its properties animated in the exact same way as another layer, you can parent their properties. To set this up:
Where your playhead is when you parent properties doesn't matter because the child will copy the parent's animation exactly. In other words, its not a relative connection like parented layers.
Compare the animation below, where the child's rotation is parented to the parent's rotation, to the animation above where the whole child layer was parented. Note that the parent layer has the same keyframes in both animations.
It's easy to parent the same property, like how in the example above, the rotation property of the triangle was parented to the rotation property of the square. It's possible to connect different properties but this can get into expressions, which is outside the scope of this lesson.
A Null Object (let's go with "Null" for short) is an invisible layer that you can use to control other layers. Usually the Null acts as the parent for multiple layers. There are tons of uses of Nulls, but there's a simple example below.
To create a Null:
Here's what a Null looks like:
Nulls make excellent parents because you can use them to control multiple children layers at once. In the example above, by parenting the triangles to the null and animating the rotation of the null, the triangles will move in a circle.
Nulls aren't visible when you export (render) your final animation. Also, if you put the composition with the null in it into another composition it won't be visible there.
In the next lesson, you'll learn about working with artwork from Adobe Illustrator in your After Effects animations.