Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After effects noob here. I'm working on an animation where a ball falls through a hole. I created a Shape layer to use as the mask, but I can't get it to mask the ball layer.

I've also tried adding a mask directly to the ball layer, but it moves with the rest of the animation. Is there a way to turn the mask on and off without affecting the rest of the animation?

Ball not being masked

share|improve this question
up vote 4 down vote accepted

I found this post helpful: Preventing a Mask From Animating

  1. Create a comp size solid above your text layer.
  2. Apply the mask to the solid.
  3. Set the Track Matte setting of your text layer to Alpha Matte.
  4. The text layer will now adopt the alpha channel of the masked solid.

You can freely animate the text and mask independently.

I did not know the name of what I was trying to do. I needed to convert the mask layer into a Track Matte.

share|improve this answer

In these cases, I generally precompose the layer and apply the mask to the precomp (the layer is animating inside the precomp)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.