random number generator godot code example
Example: 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
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