Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions sourceRectAtTime for shapes?

  • Yoan Boisjoli

    February 21, 2023 at 1:46 pm

    Hi Paul, what’s your current syntax?

    In your case you want to get the size of a specific path with a shape layer?

    Did you try to link to it directly from the expression editor with the pick whip?

  • Paul Ducco

    February 21, 2023 at 9:36 pm

    Hi Yoan, yeah sorry I’m referring to bezier paths, not ‘standard’ shapes.
    And…within that, trying to reference the size of particular ‘sub-shapes/-groups’

  • Filip Vandueren

    February 24, 2023 at 8:56 am

    I’ll think you’d need to do something similar to subSourceRect: “disable” all but one of the shapes at certain times so you can get the sourceRect of the layer to represent the sourceRect of that shape.

    The complexity when compared to text, is that it’s easy to manipulate all the characters in a text-layer with a text animator (that’s what they’re for after all).

    But there’s no simple way to automatically target all shapes (in all subgroups) of a shapelayer, each sub shape would need expressions to handle it, and there’s no way to auto-update those if there are shapes added/deleted.

    Even determining which shape gets which index isn’t super straightforward when possibly a lot of grouping an sub grouping could be going on inside a shapelayer

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