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

Expression to enable Layers

New Here ,
Jul 07, 2022 Jul 07, 2022

Copy link to clipboard

Copied

Hi,

 

is it possible to control the "video enable/disable" state of a layer via expression?

The task is to enable/disable multiple layers in different comps, depending on their layer-tag. I imagine one drop-down expression on an Null to define, which layers are enabled, and which aren't.

 

thanks in advance!

TOPICS
Expressions , Scripting

Views

97

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
LEGEND ,
Jul 07, 2022 Jul 07, 2022

Copy link to clipboard

Copied

There is no such thing. Layer switches are read-only. You have to fake it by applying opacity expressions or rely on scripts.

 

Mylenium

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
New Here ,
Jul 07, 2022 Jul 07, 2022

Copy link to clipboard

Copied

LATEST

Ok, thanks a lot!

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