Answers for "godot count amount of one item in array"

0

godot count amount of one item in array

var myArray = ["a", "b", "a"]

print(myArray.count("a")) # outputs 2
Posted by: Guest on March-28-2021

Code answers related to "godot count amount of one item in array"

Browse Popular Code Answers by Language