I’m trying to get a random number between 1 and length of text – I have this working. It gives me a random number for every frame. I only want it to find a random number once and keep the value. I’ve tried using seedRandom but it isn’t behaving the way I would expect. It gives me roughly half the value of the text length every time rather than from 1-10.
max = thisComp.layer("myLayer").text.sourceTextlength + 1;
seedRandom(1, true);
Math.floor(random(1, max));