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

Expression to enable Layers

New Here ,
Jul 07, 2022 Jul 07, 2022

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

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

 

Mylenium

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

Ok, thanks a lot!

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