How to find the distance between two clone objects created during runtime

i am creating a game where the player gameobject is initiated at the point of the touch(if he touches 3 different areas 3 gameobject clones will be initiated),how can i calculate distance between that clones?

You can calculate the distance between any 2 Vector3’s using:

float dist = Vector3.Distance(v1, v2);

So, if you have references to 2 instantiated game objects in “go1” and “go2”, this should work:

float dist = Vector3.Distance(go1.transform.position, go2.transform.position);