0
Community Beginner
,
/t5/after-effects-discussions/enable-layer-in-after-effects-scripting/td-p/13389037
Dec 01, 2022
Dec 01, 2022
Copy link to clipboard
Copied
Enabling the layer is possible or not in after effects using script. If its possible, How?
TOPICS
Expressions
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Dec 01, 2022
Dec 01, 2022
Do you mean the eyeball in the timeline? That's the layer,s enabled attribute and you just set it to true or false:
app.project.activeItem.layer(1).enabled = true;
Community Expert
,
/t5/after-effects-discussions/enable-layer-in-after-effects-scripting/m-p/13389066#M217721
Dec 01, 2022
Dec 01, 2022
Copy link to clipboard
Copied
Do you mean the eyeball in the timeline? That's the layer,s enabled attribute and you just set it to true or false:
app.project.activeItem.layer(1).enabled = true;
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Guruvendrakum271774118erq
AUTHOR
Community Beginner
,
LATEST
/t5/after-effects-discussions/enable-layer-in-after-effects-scripting/m-p/13389165#M217731
Dec 02, 2022
Dec 02, 2022
Copy link to clipboard
Copied
Thanks. It's working.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

