Oh I understand now I'm just new to the type of looping in construct sorry if it was to silly to ask.
One more question please
What's the best way to make a homing missile
I've tried storing a variable of the enemy but that didn't work out so well since I can only store strings or numbers in private variables and don't know how to convert that to a family type.
I thought I'd use the family type to find the closest object of that family and move towards it but I'm having a bit of trouble figuring out how to process objects of a family with a certain name