Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

kglad
Community Expert
Community Expert
Oct 1, 2022 1:19 PM UTC

var layerIndex = fl.getDocumentDOM().getTimeline().findLayerIndex("your_layer_name");


fl.getDocumentDOM().getTimeline().setSelectedLayers(layerIndex[0], true); 

/* if you have same named layers, index 0 might not be what you want. */

Translate
kqskcmAuthor
Known Participant
Oct 2, 2022 4:09 AM UTC

still doesn't work

Translate
kqskcmAuthor
Known Participant
Oct 2, 2022 4:57 AM UTC

is there an error

Translate