
Expresión para subtítulos
Pega esta expresión en la propiedad “Size” del rectángulo:
margin = 33;
text_width = thisComp.layer(index-1).sourceRectAtTime().width;
text_height = thisComp.layer(index-1).sourceRectAtTime().height;
box_width = text_width + margin*2;
box_height = text_height + margin*2;
[box_width, box_height]
Y pega esta expresión en la propiedad “X Position” del texto:
linear(thisComp.layer(index+1).transform.scale[0], 0, 100, value-50, value)
