Answers for "gdscript remove deleted objects from array"

0

gdscript remove deleted objects from array

for object in array:
	if ! is_instance_valid(object):
		array.erase(object)
Posted by: Guest on January-25-2021

Code answers related to "gdscript remove deleted objects from array"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language