-
Randomize numbers without having the same value occuring twice?
Hi,
Let’s say I have ten layers of text. By an expression I’d like to assign text of sourceText a value between 1 and 10. I want them to be randomly ordered, but never to occur twice within my 10 text later. So, the result could look something like this (layer by layer):
[5, 3, 1, 8, 2, 9, 4, 7, 6]
But never, for instance:
[5, 3, 1, 1, 2, 9, 4, 7, 6]
Is there a way to accomplish this?