-
valueAtTime with other expressions
Hello there!
I’m trying to accomplish the following:
Several text layers are linked with an expression on their position to a Null with several Sliders. The expression looks like this:
seedRandom(thisComp.layer("random-controller").effect("RandomSeed")("Slider"),true);
posX = random(thisComp.layer("random-controller").effect("MinOffsetX")("Slider"),thisComp.layer("random-controller").effect("MaxOffsetX")("Slider"));
posY = random(thisComp.layer("random-controller").effect("MinOffsetY")("Slider"),thisComp.layer("random-controller").effect("MaxOffsetY")("Slider"));
animation = thisComp.layer("random-controller").effect("PositionAnimation")("Slider");
value = [posX,posY] + [0,animation];
So, they are randomly positioned in X and Y and animated in Y. That works pretty well for now.What I now want to do is randomly place my layers in time. The valueAtTime expression seems to do this, only not with an already “expressioned” parameter. The problem seems to be that the animation itself, therefor the changing valueAtTime is not on the layer itself but on an Expression Slider.
Anyone can help me here?
Thanks in advance!