How to modify scale of shape based on amount of characters
The title says it all! I am trying to modify the scale of a shape based on the amount of characters on a text layer above it. Allowing it to stay wide enough for the characters to fit. I am looking for an expression that sets the scale of the current composition layer ONLY IF there are at least 4 characters. I would set the scale using the expression;
if(thisComp.layer("Control").effect("Channel Control")("Menu") == 1){ thisLayer.transform.scale = [SCALEx,SCALEy];
} else {
value;
}
SCALEx and y being replaced with their respective counterparts.
Any help is greatly appreciated!
