-
Conditional expression problem
I’m trying to make a kind of a toggle from a null object that would switch on or off various layers in various compositions. When the Video switch (the eye symbol) of the null object would be turned on, the opacity of the linked layers would be turned 100. And when the Video switch of the null object would be turned off, the opacity of the linked layers would be turned to 0.
I’m a complete novice with AE’s expressions and I just can’t make this work. Maybe there’s something wrong with the syntax? Maybe I’ve misunderstood the way the “.active” attribute works.
This is what I came up with:
TOGGLE = comp(“ToggleComp”).layer(“NullObject”).active;
if TOGGLE = true 100 else 0sam