-
timeToFrames “layer index out of range” error
I want a text layer to display a layer name based on the current frame. My Source Text expression is throwing a “layer index 153 out of range” error.
Can anyone see what I’m doing wrong?
var idx = timeToFrames() + 4; // +4 for frame 0 and 3 other layers
(thisComp.numLayers > idx) ? "empty" : thisComp.layer(idx).name