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

Enable layer in after effects scripting

Community Beginner ,
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

Views

365

Translate

Translate

Report

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;

Votes

Translate

Translate
Community Expert ,
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;

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thanks. It's working.

Votes

Translate

Translate

Report

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