-
problem with multiple if else statesment
hi, im trying to do something but im halway there and dont know why is not working.
i have 3 text layers “titlu 1”, “titlu 2” and “titlu 3”.
titlu 1 is visible, the rest ar turned off from the eye icon visibility.
what ive managed is if i turn on visibility on “titlu 2”, “titlu 1” changes its position.
if (thisComp.layer(“titlu 2”).active)
value + [0,-50]
else
value
i want turn on “titlu 3” also and move the position of “titlu 1” again
if (thisComp.layer(“titlu 2”).active) value + [0,-50]
else
if (thisComp.layer(“titlu 3”).active) value + [100,-200]
else value
its not working and i dont know why, any suggestions?