-
If ”not ” active
Hi all, I have an expression I need to edit in a project and I want to avoid having to rewrite the whole project. basically I have an if else statement which looks at 2 conditions with ”&&”
But the FIRST condition is if a layer is active. so I need to write if this layer is not active. is this possible ?
here is the expression as is, but i need the 1st condition to be not active in order for my if statement to be true.
sourceSize = thisComp.layer(“TITLE”).sourceRectAtTime(time, false);
y = sourceSize.height;
if(thisComp.layer(“Mention”).active&&y>50) 100;
else 0
thanks so much