-
SOLVED…I need to add 220 pixels from the right edge of the last character in the pre comp below…. any thoughts?
var width = thisComp.layer(index+1).width;
var widthB = thisComp.layer(index+1).width;
var offset1 = thisComp.layer(“Adjustment Layer 4”).effect(“Slider Control”)(“Slider”);
var offset2 = thisComp.layer(“Adjustment Layer 4”).effect(“Slider Control 2”)(“Slider”);
x= thisComp.layer(index+1).transform.position[0]+offset1+width/2+widthB/2;
y= transform.position[1]+offset2;
[x,y]
Sorry, there were no replies found.