Any thoughts on what the expression would be if we wanted the shape layer (the line) to move down instead of the text layer readjusting? Right now if I write a second line, the text will move up to accommodate for that but I'm looking for the shape layer to move down as I type. Thoughts?
@k-motion-tutorials Жыл бұрын
Do you want to make the Shape Layer increase in thickness as more lines of text are added? I'm trying to understand what you want to create.
@lorcanpreston4643 Жыл бұрын
@@k-motion-tutorials sorry no, I’m adding a paragraph of text but I want the line (shape layer) to automatically adjust downwards when another line of text appears. So even when there is 2,3, or four lines of text, the shape layer remains underneath it at a specified distance.
@k-motion-tutorials Жыл бұрын
@@lorcanpreston4643 Ah now I know what you need. You want to get the whole text layer height with s.sourceRectAtTime(time-s.inPoint,false).height - then you can use this to offset shape position and add padding etc. Check out write up on my blog here: www.kamilk.co.uk/2021/09/more-complex-lower-3rd-templates/ Look for Position - Title Background code. This should help you write the expression you need.