Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Enable layer in after effects scripting

Community Beginner ,
Dec 01, 2022 Dec 01, 2022

Enabling the layer is possible or not in after effects using script. If its possible, How?

TOPICS
Expressions
468
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 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;
Translate
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;
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 02, 2022 Dec 02, 2022
LATEST

Thanks. It's working.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines