-
How can I change the thisComp.layer(“layername”) by script ?
Now, I get the script like this and I want change the “layername” in thisComp.layer
original
———————————–
FACE[i].transform.position.expression = ‘b=thisComp.layer(“layername”).transform.scale;\
if(b>[0,100]){ \
value=value-((b-[100,100])/10) \
} \
———————————–
but I want to change like this
———————————–
FACE[i].transform.position.expression = ‘b=thisComp.layer(BEYER.name).transform.scale;\
if(b>[0,100]){ \
value=value-((b-[100,100])/10) \
} \
———————————–
but it didn’t work
I want to change the “layername” to object.name
How can I do that ?
thank you