-
Triggering precomp animation via property (rotation, opacity, etc.)
Hi folks,
Dan Ebberts’ expression about triggering animations in precomps using markers is awesome and quite useful.
I’d like to ask though is it possible to trigger the animation in the precomp by “asking” for a property of the precomp in the main comp.Let’s say I have animated the precomp: it rotates by 90 degrees from Frame 30 to frame 60.
In the precomp itself I have a square which changes shape/color/size from frame 30 to 50. Marker “myAnim” is at frame 30 in the precomp. From frame 51 to 61 some minor scaling animation happens. The marker at frame 51 is “myAnim2”.I would like to tweak the expression by saying:
If the precomp reaches 10° rotation the precomp should play from marker “myAnim”.
If the precomp reaches 80° rotation the precomp should play from marker “myAnim2”So it’s basically the Dan Ebberts expression but instead of using same-name triggers in the main comp I use the data from the precomp properties.
Is it possible?
Thanks so much!Best regards
Emil