So here is the thing.
My game involves turrets. However, when there are 5 turrets within a certain preset range (priority nearest) of eachother, i want the player to be able to promote them by tapping a sprite that will then appear.
I can't figure out how to store or even pick the nearest object within that range and make them count properly. what comes after that is no problem at all.
I should also note that the turrets are all the same sprite (for that type of turret).
Thanks in advance for any help.