- May 13, 2021 at 1:10 am
I’m revisiting an old project where I used sourceRectAtTime and a null with point controls to move the position of a text layer, depending on number of layers. I’d like to be able to do it with just an expression on the text layer itself, and be more procedural. It does seem like a Pins and Boxes should do it, but I imagine it can be done with an expression.
I’ve found this on reddit (Pixeldrift)
box = thisLayer.sourceRectAtTime(time);
offset = box.height;
y = position – offset;
x = value;
It works great but I’m struggling with getting it to ignore the ascenders and descenders. Any ideas and help appreciated.
- May 13, 2021 at 4:16 am
</div><div>I found this. </div>
Log in to reply.