<p>As there's always at least two ways to do things in After Effects, another option to Professor Sparkles' answer is to <strong>parent</strong> the layers to the one you're zooming in on. Parenting a layer means that any transformation you apply to the parent affects the child (but transformations to the child do not affect the parent).</p>

<p><img src="https://i.sstatic.net/ESv3G.png" alt="parenting one layer to another"></p>

<p>So select all the layers in the comp, except the one you're zooming in on, and set their parent layer to the layer you're zooming in on. To set the parent either use the pick-whip (the spiral) or the drop down in the parent column of the timeline window (if the parent column is not visible right-click on the column titles in the timeline window). Now when you scale the parent layer, all the children will scale too.
<hr>
However, say you wanted to scale the background more slowly than the foreground, to give the sense of 3D depth, one way to do this would be to have a few sets of parents corresponding to the foreground, midground and background for example.</p>

<p>But if you want 3D-style perspective you could make the composition actually have 3D depth, and use a camera layer to do the zooming. So here's yet another way to do it:</p>

<p>Make the layers 3D by selecting them all and checking the little box on the far right of the switches panel on one. </p>

<p><img src="https://i.sstatic.net/zW6Xx.png" alt="3d switch"></p>

<p>Then move the foreground layers forwards (decrease the value on the z axis, the third set of numbers that appears in the position property of a 3D layer), and the background layers backwards (increase the z axis). As you do that you'll see them move. </p>

<p><img src="https://i.sstatic.net/tu4lv.png" alt="postion value of 3D layer."></p>

<p>Now you can create a camera layer (layer>new>camera) and zoom in on the window by moving it, and the background will scale proportionally. If you want to see how everything is layed out in your 3D scene, switch the viewport from "default Camera" to "Custom View" or one of the other views.</p>

<p><img src="https://i.sstatic.net/9G5DQ.png" alt="enter image description here"></p>

<p>And here's the city layed out in 3D (well, my two-layer approximation that I did in a couple of seconds, but you get the idea).</p>

<p><img src="https://i.sstatic.net/KdgyU.png" alt="custom view of the scene"></p>

<p>In custom view you can use the camera tool (hit 'c' on the keyboard) to orbit (left mouse button), pan (middle mouse button) and zoom (right mouse button) in the viewport. In the camera view using this tool will actually move the camera. You can use this to make your start and end keyframes for your camera.</p>

<p>There's truckloads of 3D tutorials for AE on the web, here's a place to start, at Adobe's own <a href="https://helpx.adobe.com/after-effects/how-to/intro-3d-working-layers-aftereffects.html?set=after-effects--fundamentals--intro-3d" rel="nofollow noreferrer">website</a></p>

CC BY-SA 3.0
2014-10-05T12:44:00.737Z
Well thats exactly what I proposed without the pre-comping. The advantage of the pre-comp is that you don't alter the way your layers behave which can be irritating or unwanted behavior. But nice detailed explanation.
timonsku
CC BY-SA 3.0
2014-10-05T12:29:30.813Z
2017-01-01T23:38:25.897Z
2017-01-01T23:38:25.897Z
stib
<p>Thats simple, pre-comp what you have right now and create a camera layer. Then make you composition layer 3D. The look of you layer will not change unless you add lights or rotate the camera. Then you can pan around and zoom in your picture with the camera.</p>

<p>Thats how you do every sort of zooming e.g. camera animation in after effects. Animating the scale of layers is just a mess like you already realized.</p>

<p><img src="https://i.sstatic.net/8crDU.png" alt="enter image description here"></p>

CC BY-SA 3.0
2014-10-05T12:30:25.413Z
You could zoom the pre-comp without making it 3D and adding a camera; that would make it even simpler.
stib
CC BY-SA 3.0
2014-10-06T14:30:32.933Z
Not really true, the camera control is far more intuitive with great manual control with the help of the camera control tool. No need to fiddle around with corner points and numbers.
timonsku
CC BY-SA 3.0
2014-10-04T17:12:06.767Z
2014-10-04T17:12:06.767Z
timonsku
<p>It isn't clear to me if you are trying to zoom with perspective differences between the layers or not, but if you just want to zoom the viewpoint without altering the scene, you could use either of the previously mentioned methods or, for something even simpler, you could also include the composition as a source in another composition and simply scale it all together.  You might have to increase the resolution of the source composition for this to work best, but it depends on how your compositions are setup.</p>

CC BY-SA 3.0
2014-10-06T14:26:25.330Z
2014-10-06T14:26:25.330Z
AJ Henderson
<p>I desperately need step by step instructions on how to zoom into the child sitting in the window. This composition is an animation, I have a bunch of layers but I specifically want to zoom into the window as a track motion effect. I REALLY do not want to scale every layer larger one by one, because I have approx. 15 layers. Please help! I've extremely new to AE. </p>

<p><a href="https://i.sstatic.net/VklHc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VklHc.png" alt=""></a></p>

<after-effects><tracking>
Zooming in on one layer in After Effects
Delaney
# Zooming in on one layer in After Effects

(Asked by: username_0 on 2014-10-04)

I desperately need step by step instructions on how to zoom into the child sitting in the window. This composition is an animation, I have a bunch of layers but I specifically want to zoom into the window as a track motion effect. I REALLY do not want to scale every layer larger one by one, because I have approx. 15 layers. Please help! I've extremely new to AE.

[![](https://i.sstatic.net/VklHc.png)](https://i.sstatic.net/VklHc.png)

**Tags:** after-effects, tracking


---

## 3 answers

### Answer by username_1 on 2014-10-05. Score: 3

As there's always at least two ways to do things in After Effects, another option to Professor Sparkles' answer is to **parent** the layers to the one you're zooming in on. Parenting a layer means that any transformation you apply to the parent affects the child (but transformations to the child do not affect the parent).

![parenting one layer to another](https://i.sstatic.net/ESv3G.png)

So select all the layers in the comp, except the one you're zooming in on, and set their parent layer to the layer you're zooming in on. To set the parent either use the pick-whip (the spiral) or the drop down in the parent column of the timeline window (if the parent column is not visible right-click on the column titles in the timeline window). Now when you scale the parent layer, all the children will scale too.

---

However, say you wanted to scale the background more slowly than the foreground, to give the sense of 3D depth, one way to do this would be to have a few sets of parents corresponding to the foreground, midground and background for example.

But if you want 3D-style perspective you could make the composition actually have 3D depth, and use a camera layer to do the zooming. So here's yet another way to do it:

Make the layers 3D by selecting them all and checking the little box on the far right of the switches panel on one.

![3d switch](https://i.sstatic.net/zW6Xx.png)

Then move the foreground layers forwards (decrease the value on the z axis, the third set of numbers that appears in the position property of a 3D layer), and the background layers backwards (increase the z axis). As you do that you'll see them move.

![postion value of 3D layer.](https://i.sstatic.net/tu4lv.png)

Now you can create a camera layer (layer>new>camera) and zoom in on the window by moving it, and the background will scale proportionally. If you want to see how everything is layed out in your 3D scene, switch the viewport from "default Camera" to "Custom View" or one of the other views.

![enter image description here](https://i.sstatic.net/9G5DQ.png)

And here's the city layed out in 3D (well, my two-layer approximation that I did in a couple of seconds, but you get the idea).

![custom view of the scene](https://i.sstatic.net/KdgyU.png)

In custom view you can use the camera tool (hit 'c' on the keyboard) to orbit (left mouse button), pan (middle mouse button) and zoom (right mouse button) in the viewport. In the camera view using this tool will actually move the camera. You can use this to make your start and end keyframes for your camera.

There's truckloads of 3D tutorials for AE on the web, here's a place to start, at Adobe's own [website](https://helpx.adobe.com/after-effects/how-to/intro-3d-working-layers-aftereffects.html?set=after-effects--fundamentals--intro-3d)

> **Comments:**
> **username_2**: Well thats exactly what I proposed without the pre-comping. The advantage of the pre-comp is that you don't alter the way your layers behave which can be irritating or unwanted behavior. But nice detailed explanation.  

---

### Answer by username_2 on 2014-10-04. Score: 3

Thats simple, pre-comp what you have right now and create a camera layer. Then make you composition layer 3D. The look of you layer will not change unless you add lights or rotate the camera. Then you can pan around and zoom in your picture with the camera.

Thats how you do every sort of zooming e.g. camera animation in after effects. Animating the scale of layers is just a mess like you already realized.

![enter image description here](https://i.sstatic.net/8crDU.png)

> **Comments:**
> **username_1**: You could zoom the pre-comp without making it 3D and adding a camera; that would make it even simpler.  
> **username_2**: Not really true, the camera control is far more intuitive with great manual control with the help of the camera control tool. No need to fiddle around with corner points and numbers.  

---

### Answer by username_3 on 2014-10-06. Score: 0

It isn't clear to me if you are trying to zoom with perspective differences between the layers or not, but if you just want to zoom the viewpoint without altering the scene, you could use either of the previously mentioned methods or, for something even simpler, you could also include the composition as a source in another composition and simply scale it all together. You might have to increase the resolution of the source composition for this to work best, but it depends on how your compositions are setup.


---

