-
mask of precomp control from inside
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;
Sorry, there were no replies found.