Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Sharing a mask

  • Sharing a mask

    Posted by Steve Mclelland on July 3, 2009 at 6:34 am

    If you have a mask on layer 1, is there an easy way to “share” the mask on layer 2 (and possibly invert or adjust) without duplicating the mask?

    Here is my setup.

    I have the same footage on two layers. I have an animated roto mask running over time on layer 1 and I want to have the inverse of that exact mask on layer 2 but, I don’t want to duplicate the mask. I’d like to use the same mask so that I can continue refining it over time.

    Thanks!

    Stuart Elith replied 16 years, 10 months ago 3 Members · 3 Replies
  • 3 Replies
  • Todd Kopriva

    July 3, 2009 at 2:08 pm

    You can link one mask path to another using an expression.

    If the mask that you want to use as the master is on layer 1, then just make a dummy mask on layer 2, add an expression to the dummy mask’s Mask Path property, and then use the expression pick whip for that expression to link it to the Mask Path property of the master mask. (I.e., drag the pick whip from the dummy mask’s Mask Path property to the master mask’s Mask Path property.)

    Then you can invert the “copy”, change its mask mode, or otherwise customize properties of the mask.

    ———————————————————————————————————
    Todd Kopriva, Adobe Systems Incorporated
    putting the ‘T’ back in ‘RTFM’ : After Effects Help on the Web
    ———————————————————————————————————

  • Steve Mclelland

    July 3, 2009 at 8:13 pm

    Ah. That’s exactly it. Thanks.

    Wow, you’d think there would be a way to do this without an expression like a simple share or link button.

  • Stuart Elith

    July 6, 2009 at 3:22 am

    Ahh, that’s genious Todd! I never thought about doing that. What an excellent tip.

    When I have had the same situation in the past, my method was to use the masks as a track matte path, which I could then precompose and use… so if I needed to edit the original, it would update. However it didn’t let me have different feathering amounts per instance, which was quite a pain. It got the job done, and is nice in complex roto jobs, where there might be 10 or more masks for one layer. This expression technique would work too but would create a lot of filler.

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