<p>The source time of a layer is found with the expression</p>

<pre><code>thisComp.layer("some layer").sourceTime()
</code></pre>

<p>More about it can be found by <a href="https://helpx.adobe.com/after-effects/using/expression-language-reference.html#layer_sub_objects_attributes_and_methods_expression_reference" rel="nofollow noreferrer">reading the manual</a>.</p>

CC BY-SA 4.0
2019-10-28T06:56:32.290Z
2019-10-28T06:56:32.290Z
stib
<p>How can I get or calculate the original current composition time of a time-remapped or stretched layer?
My composition has both stretched and non stretched layers and I want to display the current playback time (relative to the composition) as it would be if non of the layers were stretched.</p>

<after-effects><after-effects-scripting>
Calculate after effects composition un-stretched time
ramiwi
# Calculate after effects composition un-stretched time

(Asked by: username_0 on 2019-10-21)

How can I get or calculate the original current composition time of a time-remapped or stretched layer?
My composition has both stretched and non stretched layers and I want to display the current playback time (relative to the composition) as it would be if non of the layers were stretched.

**Tags:** after-effects, after-effects-scripting


---

## 1 answers

### Answer by username_1 on 2019-10-28. Score: 0

The source time of a layer is found with the expression
thisComp.layer("some layer").sourceTime()

More about it can be found by reading the manual.


---

