Home / Blog

Null Object in After Effects: Parenting, Rigs and Controllers

How to use a null object in After Effects: creating nulls, how parenting works, camera rigs, expression controllers, orbits and tracked callouts.

Phone Camera Controller: phone driving a 3D camera

A null object in After Effects is an invisible layer that does nothing on its own, and that is exactly why it is so useful. It gives you a handle you can move, scale and rotate, and anything parented to it follows along. Nulls are how motion designers group layers without precomposing, build camera rigs, and create simple controllers for expressions. This guide covers how to create a null, how parenting works, and five practical setups you will use again and again.

How to create a null object in After Effects

Go to Layer > New > Null Object. The keyboard shortcut is Ctrl+Alt+Shift+Y on Windows and Cmd+Option+Shift+Y on Mac. A new layer called Null 1 appears in the timeline, shown in the comp as a small square outline with its anchor point in the top-left corner.

The null never renders. You can see its outline while you work, but it will not appear in your export. Rename it straight away (select it and press Enter), because a timeline full of layers called Null 1, Null 2 and Null 3 becomes confusing very quickly. Names like CTRL_Title or RIG_Camera make the job of each null obvious.

How parenting works

Parenting links one layer (the child) to another (the parent). When the parent moves, rotates or scales, the child follows. The child can still have its own animation on top, which is what makes parenting powerful: the parent handles the big move, the child handles the detail.

To parent a layer, find the Parent & Link column in the timeline. If you cannot see it, right-click any column header and choose Columns > Parent & Link. Then either drag the pick whip (the spiral icon) from the child onto the parent layer, or choose the parent from the drop-down menu. To unparent, set the menu back to None.

Two things to remember:

  • Opacity is not inherited. Children follow position, scale and rotation, but fading the parent does not fade the children. To fade a group, precompose it or link the children’s opacity with an expression.
  • Scale is inherited. If you scale a parent to 50%, the children shrink with it, even though their own Scale values still read 100%. This catches people out when they unparent later.

Setup 1: move a group of layers together

The most common use. Say you have a title, a subtitle and a line accent that need to slide in together. Create a null, place it roughly where the group sits, and parent all three layers to it. Now animate only the null’s position. Each layer can still have its own fade or text animation, but the overall move comes from one set of keyframes.

This is easier to adjust than animating each layer separately. If the client wants the whole title block to move 50 pixels higher, you change one keyframe instead of three.

Setup 2: a camera rig with a null

Moving a 3D camera directly can feel awkward, because the camera’s Point of Interest and Position interact. A simple rig makes it predictable:

  1. Create a camera (Layer > New > Camera).
  2. Create a null and turn on its 3D Layer switch.
  3. Parent the camera to the null.
  4. Animate the null’s Position to move the camera, and its Y Rotation to orbit around the scene.

Because the camera rides on the null, you can add a gentle push-in on the camera itself and a slow orbit on the null, and the two moves combine cleanly. For a more natural handheld feel on top of a rig like this, our Phone Cam Controller for After Effects lets you record real phone movement and apply it to an After Effects camera.

Setup 3: a controller null for expressions

Nulls make good control panels. Add an effect such as Effect > Expression Controls > Slider Control to a null, rename it, and then link other properties to it with expressions. For example, to drive several layers’ wiggle strength from one slider:

// On a layer's Position
amp = thisComp.layer("CTRL").effect("Slider Control")("Slider");
wiggle(2, amp)

Now one slider changes the shake on every linked layer. You can do the same with Color Control for brand colors or Checkbox Control to switch elements on and off. Many templates are built this way, with a single control null that holds every setting the user might need.

Setup 4: orbiting and pivot animations

Anchor points are fine for simple rotation, but a null gives you a pivot you can animate. Place a null at the center of a circle of icons, parent each icon to it, and rotate the null. The icons orbit together while keeping their own spacing. To keep the icons upright while they orbit, add a counter-rotation expression to each icon’s Rotation:

-parent.transform.rotation

Setup 5: linking callouts to tracked motion

When you track motion, a common approach is to apply the tracking data to a null rather than to your graphics directly, then parent the graphics to that null. The graphic follows the tracked point, but you can still offset it, scale it or animate it independently. It keeps the tracking data separate from the design, so changing the design never breaks the track. We cover tracking itself in our post on how to track motion in After Effects, and callout designs like those in Infographics & CallOuts pair well with this kind of setup.

Common null and parenting mistakes

  • The child’s numbers change when parented. That is expected. Its position, scale and rotation are now relative to the parent, so the values change even though the layer stays in place.
  • The null is in the wrong place. Its position does not have to match the group, but placing it at the group’s center makes rotation and scaling behave as you expect.
  • 3D children on a 2D null. If you parent 3D layers or a camera, turn on the null’s 3D switch so depth moves work as expected.
  • Forgetting the null is there. Lock control nulls (the padlock switch) once they are set up so you do not move them by accident.

Once nulls become part of your routine, building animation from reusable pieces gets much faster. If you would rather skip the setup for common moves, our 2000+ Animation Presets pack includes ready-made animations you can apply in a click.

FAQ

Does a null object show up in the final render?

No. Nulls are visible in the comp while you work but never render.

Can I parent a layer to a layer that is not a null?

Yes. Any layer can be a parent. Nulls are popular because they are invisible and do not add anything to the frame.

Why does my child layer not fade with the parent?

Opacity is not inherited through parenting. Precompose the group or link opacity with an expression.

What is the shortcut for a new null object?

Ctrl+Alt+Shift+Y on Windows and Cmd+Option+Shift+Y on Mac.

Studio list

Get new tools and free drops first

One email when a new plugin, template or free pack is out. No spam, unsubscribe any time.

AI Assistant for After Effects

Try every prompt from this blog inside After Effects

ChatGPT in a panel: describe what you want and get scripts, expressions and animations back. Free with 10 prompts a day.