Question
How to get the Random expression returning same value across duplicated comp ?
- October 26, 2022
- 1 reply
- 160 views
Hello,
I've put this expression in the rotation of a layer :
x = thisComp.layer("settings").effect("X Range")("Slider");
seedRandom(index, true);
random(-x,x)+value
And when I duplicate the composition, I have a different rotation.
I'm not sure how Random expression works but I was assuming that with "seed random" to "true", I would fix the randomness in time and with "offset" linked to "index", also across comps... but no.
Here is what I want to achieve :
A bunch of layer that change them rotation based on index. Then the possibility to control the range of roation with a slider. And when I duplicate the comp, all the rotations remain the same. Here is the project in attachement. If anyone can help... Thanks a lot !

