Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

array length godot

# first method
my_array = [1, 3, 4]
my_array.size() # 3

# second method
len(my_array) # 3, but it's can be used with more variable types like a string
 
PREVIOUS NEXT
Tagged: #array #length #godot
ADD COMMENT
Topic
Name
1+9 =