Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Can I use the mask mode in an expression?

  • Can I use the mask mode in an expression?

    Posted by David Cabestany on December 13, 2023 at 1:06 am

    Can I access the mask mode (none, add, subtract, etc) with an expression so depending on which one is selected another property?
    I have an very basic expression but I have no idea what to write after the word mask, I don’t know the name of the property:

    l=thisComp.layer("bg").mask("Mask 1").mask.____________

    if

    (l==0)

    {100}

    else

    0

    Thanks in advance.

    David Cabestany replied 2 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    December 13, 2023 at 1:17 am

    I don’t think you can get to it from an expression.

  • David Cabestany

    December 13, 2023 at 2:43 am

    Figured as much, it was worth asking someone more knowledgeable.

    Thanks Dan.

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