# Find the shortest path

**URL:** https://forum.kirupa.com/t/find-the-shortest-path/198325
**Category:** Uncategorized
**Created:** [August 24, 2006, 4:27am UTC](https://forum.kirupa.com/t/find-the-shortest-path/198325 "2006-08-24T04:27:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![daytonatkf](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@daytonatkf](https://forum.kirupa.com/u/daytonatkf)
#### Post date: [August 24, 2006, 4:27am UTC](https://forum.kirupa.com/t/find-the-shortest-path/198325/1 "2006-08-24T04:27:51Z")

</div>

i want to create a object that can find the shortest path to use. example, there is a(x,y), b(x,y), c(x,y), d(x,y). This object will check the a,b,c,d to find out the shortest or nearest, and then go to that location. Any function to use? or any logic to recommend? thanks for reply.
