how to create random position with option of position

hello. i know how to create a random position, but i don’t know how to create option for my random position. Lets look the random scripts
Random.Range(-10.0F, 10.0F)
I want to give option for the position, not with range like that. Maybe my opinion like this (blueprint)
Random.METHODOPTION(OPTION1, OPTION2, OPTION3)
Can unity do that?
Thanks before… :slight_smile:

If you mean to choose from a limited set of random positions, put some Vector3’s into an array and take a random index from that array. Randomly picking from an array has been covered many times already on UA so just search away…

If you want a random Vector3, use Random.insideUnitSphere for example