-
At Time Expression that works with a Loop?
I have two layers. One is an simple solid that moves around using a wiggle function, the second is a looping precomposed composition that contains an animation (lets say the loop is 1 second).
What I would like to happen is to have the precomposed animation appear ontop of the wiggling layer, but *stay* in the same position as when it first appears (not follow the wiggling solid). Currently, with the expression I used, the animated layer follows the wiggling solid.
I believe using ‘valueAtTime’ is the key, but the problem is the one second interval of the loop where i’d like the animation layer to reposition itself ontop of the wiggling layer
** I should note that the loop on the animation layer is made using a time remap on the layer and a the code: loopOut(“cycle”,2)
(Pseudo) Looping Animation Position Expression:
thisComp.layer("Wiggle_Layer").position.valueAtTime(//every 1 second interval//);I somewhat got the effect, but with only one loop using this:
thisComp.layer("Emitter").position.valueAtTime(thisLayer.inPoint);