How I can change part of my expression using JavaScript ?
When I extracting Duik controllers to the other composition. it creates an expressions on controllers into composition with all my rigged character, and thats some issues when After Effect can lose name of composition in expression when I rename my comp, thats sample:
//Duik.link
var link = comp("Comp 1").layer("B_HEAD").transform.position;
var timeLayer = comp("Comp 1").layer("Boss_1");
var timeOffset = timeLayer.startTime;
link.valueAtTime(time + timeOffset);If I want to rename my comp, AE show an error thats he can`t find composition and expression is doesnt work
I want to write a Script that can help me change this part of my expression and place the correct composition name
