Thanks for the reply, Dan!
I currently have the following expression in the rectangle’s size property connecting the X value to the width of the text layer:
“var s = thisComp.layer(“Text”);
var start = s.inPoint;
var end = s.outPoint;
var mid = (end-start)/2;
var w = s.sourceRectAtTime(mid).width;
var h = s.sourceRectAtTime(mid).height;
[w,h];”
I removed the “mid” from the X sourceRectAtTime and added “+value” after the “[w,h];” and that lets me keyframe the animation, but breaks the dynamic resizing of the text box, which would be fine, but the goal of this is to export these as a MOGRT and have the size of the text box dynamically resize based on whomever’s name is put in the text field. It’s also animating in from the center rather than from the left despite the shape’s anchor point being on the left.