Get Random Gradient Location.

Hi, I’m trying to get a random location from a gradient I have in my script. I tried gradient.Evaluate but if I set it as a random float between 0 & 1 it’s always the colour on the far left, any more than that and its the colour on the far right. No inbetween :frowning:

Am I doing something wrong?

How are you setting up your gradient. In the Editor? or in a script? If you setup the gradient in a script could you post the code. At the very least post the code where you are trying to get a random color from you gradient.