Answers.Body: <p>You could also pre-comp the second smaller layer, then apply the scale inside the comp.
  Getting the timing on the keyframes would be harder, as you'd be inside another timeline, but if you position your time cursor at the point where you want to begin the scaling, then double click into the "inner" comp, the second timeline cursor will be in the right place.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-04T13:48:04.447Z
Answers.Text: This is generally a good solution but I would avoid it if you deal with a lot of layers. Pre-comp madness can turn every project into a giant mess.
  Though the better choice than using track mattes in some cases.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T19:06:27.133Z
Answers.LastActivityDate: 2014-09-02T19:06:27.133Z
Answers.UserDisplayName: tomh
Answers.Body: <p>What you can do if you don't want to animate your layer unlinked from your mask (in that case use a track matte like you found out already), is to create a quick dummy layer like a solid, cut the mask(s) from your source layer and paste it to the dummy, scale the source layer and paste back the masks, they will keep their global position and scale throughout this process.</p>
  
  <p>Track mattes are nice but they can clutter your composition quite a bit if you have a lot layers with masks and don't need the mask to be independent of your layer or actually don't even want them to be independent and just want to adjust the scales once.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T18:29:59.237Z
Answers.LastActivityDate: 2014-09-02T18:29:59.237Z
Answers.UserDisplayName: timonsku
Answers.Body: <p>After some serious Google time I found a solution.</p>
  
  <p>Here is the <a href="http://forums.creativecow.net/thread/2/931763" rel="nofollow">link</a>, but just in case is gets removed this is what they said to do.</p>
  
  <p>You want to use a track matte.</p>
  
  <p>Create a mask on a solid layer that lies on top of the layer you want to cut out. Then click on the TrkMatte dropdown menu on your footage layer, select Alpha Matte.</p>
  
  <p>Here's the layer order for you:</p>
  
  <ol>
  <li>Masked solid</li>
  <li>Your footage / image - Apply Track matte and apply Alpha Matte</li>
  <li>Background (if used)</li>
  </ol>
  
  <p>Now you can move your footage layer around and the mask won't move. </p>
  
  <p>This worked like a charm.</p>
  
  <p>If anyone has any better solutions, please let me know.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T18:20:09.043Z
Answers.LastActivityDate: 2014-09-02T18:20:09.043Z
Answers.UserDisplayName: daugaard47
Body: <p>Pretty new to after effects. </p>
  
  <p>I was wondering if anyone could tell me how to scale an image contained inside a mask.</p>
  
  <p>Similar to photoshop. In Photoshop you create a mask and if you want to scale the image you simply unlink the mask and scale your image.</p>
  
  <p>Can this be done in after effects?</p>
  
  <p>This is what I have going on.</p>
  
  <ul>
  <li>Video playing in background</li>
  <li>Created a new image layer in the bottom right position of the video to show a more in-depth example of what the person in the video is talking about.</li>
  <li>Want to add a scale effect to the image layer contained in the mask</li>
  </ul>
  
  <p>When I try and scale the image it scales the mask. I only want the image to scale inside the mask.</p>
  
  <p>Any help would be appreciated.</p>
  
Tags: <after-effects>
Title: scale an image inside a mask
UserDisplayName: daugaard47
ThreadText: # scale an image inside a mask
  
  (Asked by: username_0 on 2014-09-02)
  
  Pretty new to after effects.
  
  I was wondering if anyone could tell me how to scale an image contained inside a mask.
  
  Similar to photoshop. In Photoshop you create a mask and if you want to scale the image you simply unlink the mask and scale your image.
  
  Can this be done in after effects?
  
  This is what I have going on.
  
  * Video playing in background
  * Created a new image layer in the bottom right position of the video to show a more in-depth example of what the person in the video is talking about.
  * Want to add a scale effect to the image layer contained in the mask
  
  When I try and scale the image it scales the mask. I only want the image to scale inside the mask.
  
  Any help would be appreciated.
  
  **Tags:** after-effects
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2014-09-02. Score: 3 | Accepted answer
  
  After some serious Google time I found a solution.
  
  Here is the [link](http://forums.creativecow.net/thread/2/931763), but just in case is gets removed this is what they said to do.
  
  You want to use a track matte.
  
  Create a mask on a solid layer that lies on top of the layer you want to cut out. Then click on the TrkMatte dropdown menu on your footage layer, select Alpha Matte.
  
  Here's the layer order for you:
  
  1. Masked solid
  2. Your footage / image - Apply Track matte and apply Alpha Matte
  3. Background (if used)
  
  Now you can move your footage layer around and the mask won't move.
  
  This worked like a charm.
  
  If anyone has any better solutions, please let me know.
  
  
  ---
  
  ### Answer by username_1 on 2014-09-02. Score: 2
  
  You could also pre-comp the second smaller layer, then apply the scale inside the comp.
  Getting the timing on the keyframes would be harder, as you'd be inside another timeline, but if you position your time cursor at the point where you want to begin the scaling, then double click into the "inner" comp, the second timeline cursor will be in the right place.
  
  > **Comments:**
  > **username_2**: This is generally a good solution but I would avoid it if you deal with a lot of layers. Pre-comp madness can turn every project into a giant mess. Though the better choice than using track mattes in some cases.  
  
  ---
  
  ### Answer by username_2 on 2014-09-02. Score: 2
  
  What you can do if you don't want to animate your layer unlinked from your mask (in that case use a track matte like you found out already), is to create a quick dummy layer like a solid, cut the mask(s) from your source layer and paste it to the dummy, scale the source layer and paste back the masks, they will keep their global position and scale throughout this process.
  
  Track mattes are nice but they can clutter your composition quite a bit if you have a lot layers with masks and don't need the mask to be independent of your layer or actually don't even want them to be independent and just want to adjust the scales once.
  
  
  ---
  
  