Answers.Body: <p>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:</p>
  <blockquote>
  <p>if (comptime)&gt;&quot;yourtime&quot;</p>
  <p>opacity.yourlayer=0</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T15:26:31.647Z
Answers.Text: Thank You for your answer. I know Java, and please, how to create that expression in AE? I very newbie with AE
Answers.UserDisplayName: kabrice
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T08:50:20.877Z
Answers.LastActivityDate: 2020-08-11T08:50:20.877Z
Answers.UserDisplayName: Florian Claaßen
Answers.Body: <p>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 <kbd>T</kbd>. Or open up all the triangles to find it. Set the opacity to zero to make the layer invisible.
  <a href="https://i.sstatic.net/FdyDF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FdyDF.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T15:45:34.697Z
Answers.Text: 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.
Answers.UserDisplayName: tomh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-12T09:11:24.660Z
Answers.Text: By the way, this is an old but very good beginner's guide to After Effects. You might find it useful: http://www.videocopilot.net/basic/
Answers.UserDisplayName: tomh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T08:09:20.603Z
Answers.LastActivityDate: 2020-08-12T09:36:21.873Z
Answers.LastEditDate: 2020-08-12T09:36:21.873Z
Answers.UserDisplayName: tomh
Body: <p>I use Adobe After Effects (Last version) for video editing</p>
  <p>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.</p>
  <p>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</p>
  <p><a href="https://i.sstatic.net/0ap5N.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/0ap5N.png" alt="enter image description here" /></a></p>
  <p>What is the best and easiest way to perform that?</p>
  <p>Thank You</p>
  
Tags: <after-effects><compositing><video-player>
Title: Best and easiest way to delete a layer by a specific time in the After Effects timeline
UserDisplayName: kabrice
ThreadText: # Best and easiest way to delete a layer by a specific time in the After Effects timeline
  
  (Asked by: username_0 on 2020-08-11)
  
  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](https://i.sstatic.net/0ap5N.png)](https://i.sstatic.net/0ap5N.png)
  
  What is the best and easiest way to perform that?
  
  Thank You
  
  **Tags:** after-effects, compositing, video-player
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2020-08-11. Score: 3 | Accepted answer
  
  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](https://i.sstatic.net/FdyDF.png)](https://i.sstatic.net/FdyDF.png)
  
  > **Comments:**
  > **username_2**: 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.  
  > **username_2**: By the way, this is an old but very good beginner's guide to After Effects. You might find it useful: http://www.videocopilot.net/basic/  
  
  ---
  
  ### Answer by username_1 on 2020-08-11. Score: 0
  
  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"
  >
  > opacity.yourlayer=0
  
  > **Comments:**
  > **username_0**: Thank You for your answer. I know Java, and please, how to create that expression in AE? I very newbie with AE  
  
  ---
  
  