Material Box

Material Box

WEB Design & Material Images

Godot - Get number of values in array

Godot

GDScript code example to get number of values in array.


Can get number of values in array using size() in GDScript.

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

print(size)
# 4

Godot

TitleGodot - Get number of values in array

CategoryGodot

Created

Update

AuthorYousuke.U