now what this does is spawn them at the Enemyz1 sprite when ever there is no enemies spawned and you collide with the trigger.
I need to make it where they will spawn at the closest Enemyz1 sprite not just the one that I hard code in.
I need some sort of variable that will change depending on which sprite you are closer 2.
Btw Spawns Enemy 1 is what you should be looking at
Spawns Enemy 2 is test one I was working on.