Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions mask of precomp control from inside

  • mask of precomp control from inside

    Posted by Pavol Feješ on November 14, 2016 at 9:48 pm

    Hi guys,

    I’m trying to find a way how to control the mask of precomp from inside of the same precomp.

    Everything is fine. It works.
    But if I want to close AE or project… Alert… AE has stopped working and will be shut 😐
    Is there anyone with the same problem or is that incorrect work with masks?
    Is it way how to do it correctly?

    Thank you

    try{
    Master = comp(thisLayer.name).layer("ramecek").mask("Mask Master").maskPath;
    exists = true;
    }catch (err){
    exists = false;
    }

    if(exists) Master
    else
    mask("Mask Slave").maskPath;

    Pavol Feješ replied 9 years, 8 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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