I need help figuring out how to use the number from the “random.integer()”.
I’ve tried typing this:
if (random.integer = 2) {
//do something
}
I need help figuring out how to use the number from the “random.integer()”.
I’ve tried typing this:
if (random.integer = 2) {
//do something
}
Try doing
If(random.integer(1,10) === 2){
//do something
}
The number 1 and 10 can be changed
Thx, I will try that.
It worked! Thanks, I really appreciate it.
No problem, I’m glad I can help