-
Scripting: how to find out a layer’s endTime?
Hello:
I know there’s the “startTime” property to find out the start time of the layer within a composition, but is there any way to find out the position of the layer’s end? Something like “endTime”?
Sure, you could find it out just by doing:
var endTime = layer.startTime + layer.source.duration;
But what if the layer has time remapping or stretch applied to it? Then the calculation is no longer accurate. And of course, you can’t trust “outPoint” because the layer might be trimmed. Is there any other way to access this data?
Sorry, there were no replies found.