Material Box

Material Box

WEB Design & Material Images

Godot - Reverse array order

Godot

GDScript code example to reverse array order.


Can reverse array to sort in descending order using reverse() in GDScript.

var array = ["apple", "lemon", "apple", "banana"]
array.reverse()

print(array)
# ["banana", "apple", "lemon", "apple"]

Godot

TitleGodot - Reverse array order

CategoryGodot

Created

Update

AuthorYousuke.U