I use Adobe After Effects (Last version) for video editing

I created a composition with a video, shape and null Object. So far everything work well. Now I want to hide the layer from a certain point in my timeline.

Let say my timeline is 10s, I want my layer to be visible at the first 3s and then to be invisible the remaining seconds

enter image description here

What is the best and easiest way to perform that?

Thank You

2 Answers 2


Make a key frame (or more than one at different points) on the Opacity control. You can get to it by selecting the layer and pressing T. Or open up all the triangles to find it. Set the opacity to zero to make the layer invisible. enter image description here

  • Apologies if I misunderstood - I'm not sure how well you know after effects. Maybe you mean you just want to trim the end of a layer? You can do this by selecting the layer at a certain time, and pressing the ] key.
    – tomh
    Aug 11, 2020 at 15:45
  • 1
    By the way, this is an old but very good beginner's guide to After Effects. You might find it useful: videocopilot.net/basic
    – tomh
    Aug 12, 2020 at 9:11

You could try to create an expression that sets the opacity of your layer to 0 once you've hit a certain time in your timeline. You should be able to code this properly in Java or the basic expression-language. A syntax should look somewhat like this:

if (comptime)>"yourtime"


  • Thank You for your answer. I know Java, and please, how to create that expression in AE? I very newbie with AE
    – kabrice
    Aug 11, 2020 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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