documentation indexreference manualfunction index

renpy.random.random

Method: renpy.random.random ():

Return the next random floating point number in the range (0.0, #0).

Example

# return a random float between 0 and 1
$ randfloat = renpy.random.random()



documentation indexreference manualfunction index