12 Replies Latest reply on Mar 31, 2017 11:25 AM by martinr84659894

    Update expression value when comp is duplicated.


      I have an expression I am using to offset an animation. I am controlling the offset by a slider in a different composition. I want to duplicate this Pre Comp multiple times. the expression references the name of the Pre Comp. Is there a way to make the expression update when duplicated to reference the new increment.


      For example: the script points back to "pre comp Photo 1", and when I duplicate it, becoming "pre comp Photo 2", the expression still points back to "pre comp Photo 1"


      is there a way to automatically make Photo 1 update to Photo 2 in the script? or am I crazy.


      The reason for this is that I have to duplicate this pre comp 100+ times yet I want to control the offset for each one individually.