Changing Shape Layers size (width) due to text width
I’ve been messing around with this but I still haven’t got to the results that I wish it to be.
I’ve got a text layer (in a bounding box). But the content (the source text) may change later. It’s been rigged with an thisComp.layer(“TEXT MASTER”).text.sourceText, so I can easily change this later.
Behind the text-layer there is a shape (rectangle) and I want it’s width to get larger + some extra space around it, because that looks nice. Let me show you:
So to sum it up: I want the width size of the rectangle behind the text to automaticly scale itself depending on the width of the text layer.
And after that I still want to animate it (with the anchorpoint in the middle, or at the far most right) to have it scale up from 0 to 100%).
Does anyone have a clue how I can get this done? I’m quite new at expressions, I roughly know the basics, this is why I’m seeking for help.
Page 1 of 3