Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Align image scale to multiple Objects

  • Align image scale to multiple Objects

  • Hauke Specht

    June 6, 2021 at 3:16 pm


    i created a bullet point list with some textfields, seperated by lines plus a margin between the fields and the lines. The fields and lines are dynamically connected.

    The List should have a Background Image (no shape), with a fixed base size which allready exists. The image height should be scaled up or down if the list gets longer or shorter, because of more or less text.

    In my opinion i need to get the height of all objects together a use this value to scale up the image height.

    currently i would use sourceRectAtTime, to get the height of every object, the lines and the Margin and multiply them. Text 1 + Line + Margin + Tex 2 + Line + Margin …

  • Andrei Popa

    June 10, 2021 at 3:48 pm

    I think you should calculate the top point of the first element and the bottom point of the last and size your image according to the difference between these two.

Viewing 1 - 2 of 2 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy