-
Multiple if/else expressions for one value
Is it possible to have multiple if/else expressions for one value?
With the expression code below, the first “if” expression works fine, but the second doesn’t do what (I think) I’m asking it to—though I don’t get any errors.
if (thisComp.layer("Percentage 2").content("Trim Paths 1").end==0) 0 else 100; if (thisComp.layer("EXTRACT PIECE").effect("3 Extract Z")("Slider")==1-59) 0 else 100;