How do you mean randomize()? Can you make an example?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Linksy_CZ

How do you mean randomize()? Can you make an example?

:bust_in_silhouette: Reply From: jgodfrey

Simply call the randomize() function from the _ready() function of your main script. So, this:

func _ready():
    randomize()
:bust_in_silhouette: Reply From: crossbito

Randomize its use to ensure that the random number is truly random every time you start the game.