How can I pick 3 random Gameobjects from an array and then shrink them to a point?

I want to pick a certain amount of gameobjects from an array based on tags and then shrink them down into their center. How would I calculated the center of three objects that have. if Possible how would I do it to three that had collided with each other while chasing the player.

This may help you: How to find the center of three or more objects

Finding the median between the objects is probably the best solution.

i don’t need calculate the center… u can use a lerp on the scale of it… will to the same effect with less effort…