I got this formula in my position expression panel: if(thisComp.layer(“Control”).effect(“Man scale”)(“Slider”)=73) [441.1,-108,3] else [507.1,-108,3];
I want the position that I sued expression on, to change to the values I have given to it when other layer’s slider control is at 73 one position and when it moves other position property. But I haven’t used IF expression before in AF, mby i’m applying it to the wrong property, i’m not sure. Gives an error.
Or I thought to make the pickwhipe forumla, but forgot algebra from school =) to make basically position property X depend on anothe slider property. bullet points of that formula are
(property X)=441,1 when slider = 73
and
(property X)=507,1 when slider = 453
so expression for position like
value[Z+H*slider value,0];
Z and H are unknown
made if expression by https://www.premiumbeat.com/blog/use-ifelse-statements-effects/ but didn’t work out basically..
if(thisComp.layer("Control").effect("Man scale")("Slider")=73) [441.1,-108,3] else [507.1,-108,3];