Answers for "gdscript iterate dictionary"

0

gdscript iterate dictionary

for key in dictionary.keys():
	...
# .keys() is optional:
for key in dictionary:
	# If you need both, key and value:
	var value = dictionary[value]
    ...
# If you only need the values:
for value in dictionary.values():
	...
Posted by: Guest on March-09-2022

Browse Popular Code Answers by Language