<p>This free script - <a href="http://aescripts.com/rd-compsetter/" rel="nofollow">rd: Comp Setter</a> - should help.</p>

CC BY-SA 3.0
2015-11-16T14:38:40.593Z
2015-11-16T14:38:40.593Z
Gyan
<p>I also wrote a script that does it with one click. Get it <a href="http://blob.pureandapplied.com.au/first-n-last/" rel="nofollow">here free</a> (RD Comp Setter does a lot more as well, so use whichever one you like the looks of).</p>

CC BY-SA 3.0
2016-04-16T12:26:17.517Z
2016-04-16T12:26:17.517Z
stib
<p>lets sayI have a comp in after effects with one layer. The layer appears to be longer than the actual comp. Is there any shortcut to make the comp automatically fit the length of the layer?</p>

<p>Thanks in advance!</p>

<after-effects>
How do I fit the Comp length to a layers length in after effects?
Marten Zander
# How do I fit the Comp length to a layers length in after effects?

(Asked by: username_0 on 2015-11-16)

lets sayI have a comp in after effects with one layer. The layer appears to be longer than the actual comp. Is there any shortcut to make the comp automatically fit the length of the layer?

Thanks in advance!

**Tags:** after-effects


---

## 2 answers

### Answer by username_1 on 2015-11-16. Score: 1

This free script - [rd: Comp Setter](http://aescripts.com/rd-compsetter/) - should help.


---

### Answer by username_2 on 2016-04-16. Score: 1

I also wrote a script that does it with one click. Get it [here free](http://blob.pureandapplied.com.au/first-n-last/) (RD Comp Setter does a lot more as well, so use whichever one you like the looks of).


---

