# Distance between two objects

**URL:** <https://forum.kirupa.com/t/distance-between-two-objects/167404>\
**Category:** flash\
**Created:** [October 27, 2005, 9:21pm UTC](https://forum.kirupa.com/t/distance-between-two-objects/167404 "2005-10-27T21:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Otomo](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Otomo](https://forum.kirupa.com/u/Otomo)\
**Post date:** [October 27, 2005, 9:21pm UTC](https://forum.kirupa.com/t/distance-between-two-objects/167404/1 "2005-10-27T21:21:46Z")

</div>

Hi! Can any one tell me how can I determine the distance between two objects?

I need to make an object (A) to follow one other (B) if this one is close to him.

Thanks in advance.
