Answers for "godot randi vs ran_range"

2

gdscript find random number

randomize()
var random_value = rand_range(1,10) #float between 1 and 10.999
var random_integer = randi()%10+1 #int between 1 and 10
Posted by: Guest on November-09-2020

Browse Popular Code Answers by Language