Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Logical operators in expressions

  • Logical operators in expressions

    Posted by Vadik Zhuk on May 2, 2013 at 12:57 pm

    Is there some logical operators like & (AND) or ! (OR) in use with AAE expressions? For expample: I need to change layer opacity to 100 if opacity of 3 other layers is 0. Expample expression (not working one, just to illustrate more accurate what exactly I mean) is below.

    if (thisComp.layer("lang").effect("Layer Control")("Layer").index == index) 100
    else
    if (thisComp.layer("ENG").transform.opacity == 0) & (thisComp.layer("ESP").transform.opacity == 0) & (thisComp.layer("KOR").transform.opacity == 0) 100 else 0

    Vadik Zhuk replied 13 years ago 2 Members · 2 Replies
  • 2 Replies

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy