Choose Random Not Working [SOLVED]

I’m using Choose Random custom behavior and it’s not working.


I also try it with “” in each number but it wasn’t working as well.

The numbers need to be contained within double quotes, Choose::RandomNumber("-10,0,10")

1 Like

For what it’s worth, you can do the same with the built-in:

RandomWithStep(-10, 10, 10)

That chooses a random number between -10 and 10, but in increments of 10 (so -10, 0, or 10).

2 Likes

It works. I thought each of the number will be encased with “”. Thanks @MrMen. I will also try the other one in other purposes @BWPanda.