Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Get a precomp’s “start time” relative to the comp in which it’s included?

  • Get a precomp’s “start time” relative to the comp in which it’s included?

    Posted by Blake Goulette on July 29, 2024 at 2:56 pm

    Hi there.

    Is there any way to get the “start time” of a precomp contained within another precomp? For example, let’s say I have precomp B starting 30 seconds inside comp A. Comp A contains a null that adjusts scaling for a bunch of other layers/precomps. When scaled, I need a shape layer stroke weight property (inside the precomp) to update based on that null’s scale property. Simply creating an expression that adjusts the stroke weight based on containing comp’s null works…but 30 seconds later than I need it to. I’m probably approaching this the wrong way, but I have versions of precomp B starting at various times throughout the main comp A, and I was hoping to find a way to let any instance of precomp B know where (temporally) it was relative to comp A’s initial time. I can’t figure out how to do that. Any thoughts? (Assuming my post isn’t clear as mud?) Thank you!

    Blake Goulette replied 1 year, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 29, 2024 at 3:17 pm

    If these are all instances of the same precomp (i.e. it only shows up as one entity in the project panel), I don’t think there’s a way. They would need to be separate precomps, with unique names.

  • Blake Goulette

    July 29, 2024 at 9:52 pm

    Thanks (again!) Dan. That’s what I was afraid of. I’ll create multiples of the comp(s) in question then. Shouldn’t be too bad: there are only three…I think!

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