Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Reverse stacking order of masks, how?

  • Reverse stacking order of masks, how?

    Posted by Göran Thorén on September 26, 2011 at 9:10 am

    Hi!
    As for now I have a couple of hundred masks that I have copied from Illustrator paths. I’m going to apply the stroke effect and I need the stacking order of the mask to be reverse to get them to stroke in the direction I want.
    Anyone know a fast way to do that?

    Thank’s inadvance.
    /Göran

    Iain de Somerville replied 9 months, 2 weeks ago 7 Members · 13 Replies
  • 13 Replies
  • Roland R. kahlenberg

    September 26, 2011 at 3:26 pm

    You can set the Stroke’s Start and End properties to 100%. Then keyframe the Start property down to zero.

    HTH
    RoRK

    Intensive AE & Mocha Training in Asia.

  • Göran Thorén

    September 26, 2011 at 4:54 pm

    Thank’s Roland but that isn’t really the problem.
    The problem is that I need the stacking order to be reversed so sequence stroke gets right.

  • Roland R. kahlenberg

    September 26, 2011 at 5:28 pm

    Doing what I suggested reverses the order in which the masks are stroked. No?

    RoRK

    Intensive AE & Mocha Training in Asia.

  • Göran Thorén

    September 26, 2011 at 5:42 pm

    Yes and no.
    It reverses the direction each mask is drawn but not the ORDER the masks are being drawn.
    In my case I have almost 300 masks (which I now have manually reversed the order on) where the first mask is located on the bottom of my comp. the second mask a bit further up, the third even further up and so on.
    What I need is to reverse the order of the masks to get the opposite result; from top to bottom.
    I guess it’s a bit tricky to wrap ones head around the problem when you can’t see the actual comp… 😉

  • Roland R. kahlenberg

    September 26, 2011 at 6:19 pm

    So, You have your masks stacked up in the Timeline, from the top as follows –
    Mask 1
    Mask 2
    Mask 3
    Mask 4
    Mask 5

    And you now want to reorder it as such –
    Mask 5
    Mask 4
    Mask 3
    Mask 2
    Mask 1

    Is this correct?

    What you can do is use the Layer>Arrange>Send Mask to Back menu item. Select the second to last mask (Mask 4 as per the example above) and hit the Short-cut key CTRL+SHIFT+[ . Then select the next mask further up the hierarchy. Once you get to the top, the last mask will now be ordered first.

    It’s a bit tedious but if you combine your mouse to select the masks and use your other hand for the key combo, it’ll be a pretty quick exercise.

    Unfortunately I don’t know of a way to reverse the order at one go, like you can with layer orders.

    HTH
    RoRK

    Intensive AE & Mocha Training in Asia.

  • Göran Thorén

    September 26, 2011 at 6:29 pm

    Wow, thank’s Roland!
    That’s a really handy trick!
    I’ve used AE for allmost ten years but I have never came across that.
    Or maby it’s not every day you have hundreds of masks that need reordering… 🙂
    I thought the old “select from bottom cut’n paste” would do the trick but not when it comes to maskes unfortunately.
    After effects do seem to have a couple of things to develop still…

    Thank’s a million anyway Roland!

    /Göran

  • Roland R. kahlenberg

    September 26, 2011 at 7:05 pm

    You’re most welcome Göran.

    Cheers
    RoRK

    Intensive AE & Mocha Training in Asia.

  • Harold Durnez

    December 27, 2013 at 7:45 pm

    Hi Göran & RoRK

    I’m in the same predicament…
    Have you guys come across an easier solution since?
    (Definitely a suggestion for a script)

    Hope to hear from you soon.
    H

    Harold JM Durnez
    harold.durnez@gmail.com
    http://www.behance.net/HaroldDurnez
    https://vimeo.com/channels/harolddurnez

  • Davy Force

    January 14, 2014 at 7:33 pm

    FOUND AN EASY WAY FOR THIS FOLKS!!

    Select bottom mask first (mask 100 or whatever) then multiselect (shift) the first mask (mask 1) so youve multiselected in a reverse order. CUT the selection (to delete paths) then paste back into same layer- Mask later order will now be reversed-
    your welcome!

  • Harold Durnez

    January 21, 2014 at 9:21 am
Page 1 of 2

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