-
List all layers inside a selected composition
Hi,
I’ve been searching for this and I still can’t find a solution.
I am trying to get a list of the layers inside a selected composition layer
var curItem = app.project.activeItem;
var selectedLayers = curItem['selectedLayers'];
var curLayer = curItem.selectedLayers[0];//curLayer is a composition layervar layersInside = curLayer.layers;//this one doesn't work and doesn't get the layers inside the composition layer
Any ideas?Thx
Kiril