Godot - Shuffle array values
GDScript code example to shuffle array values.
Can shuffle order of array values using shuffle()
in GDScript.
var array = ["apple", "lemon", "orange", "banana"]
array.shuffle()
print(array)
# ["banana", "orange", "apple", "lemon"]