Are you looking at the active camera? How are you rendering? What are you rendering? What are your rendering settings? We don't even know your OS or AE version. Want help, give details.
I'd say that you are not correctly setting up the render.
Yes, I'm looking at the active camera.
I have After Effects CC for Mac. I'm prerendering a H.264 .mov file.
Any other details you need?
There's your problem. You are pre-rendering to a delivery codec that does not support alpha channels (transparency). Read about rendering. I'd suggest Animation Codec Quick-time. Set the output module to millions of colors + and RGB plus alpha. With such a simple scene I'm wondering why you are pre-rendering.
You seriously need to read up on rendering. It's the most basic skill anyone using AE should have and it's not hard.
BTW, this question is answered in the FAQ on the home page of this forum and about a zillion other places on this and every forum about video apps. It's a common question.
It didn't work.
I don't have much time so could you direct me to the question on the FAQ page you're talking about????
Or maybe could you give me your suggested steps for rendering??
Thank you so much for your help.
I am 15 years old and very new to after effects so just work with me.
Here's another example:
Don't pre-render unless you really need to.
I've been at AE for more than 20 years now, I put in a 17 hour day yesterday 12 today because I'm on a production deadline and I still find time to answer your questions. The least you could do is try my suggestion and search for rendering transparency with After Effects.
Or you could try this:
Press enter and you'll find this:
Read about of these threads and you'll be advised, as I did in my second post to open up the render cue, spin down the output module settings and choose this:
If you want to further adjust the settings open up the output module and see how it's setup.
You'll see something like this:
Delivery codecs like h.264 do not have transparency information. Some production codecs do. This question is asked a million times a year and the answer is always the same. I already gave you the answer.
I'll have to ask this one more time. Why are you pre-rendering your masked layers. For a project like this I'd never do that. It's a complete waste of time unless you specifically need to do some more work on the project later and you are not completing the composite in AE. Just render your main comp by dragging it into the Adobe Media Encoder, pick a suitable delivery preset and be done with it.