# Dot around path

**URL:** <https://forum.kirupa.com/t/dot-around-path/278888>\
**Category:** flash\
**Created:** [January 7, 2009, 1:13am UTC](https://forum.kirupa.com/t/dot-around-path/278888 "2009-01-07T01:13:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyDeWittePony](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@TonyDeWittePony](https://forum.kirupa.com/u/TonyDeWittePony)\
**Post date:** [January 7, 2009, 1:13am UTC](https://forum.kirupa.com/t/dot-around-path/278888/1 "2009-01-07T01:13:05Z")

</div>

Hello!

I was wondering about how you would let a dot go around a certain path with actionscript. All tutorials I see are around a circle, but what if a corner shows up? How do you handle that? You can compare this to a dot going around a race track. How would you do that?  
I read that you could do it as a 2D math function, but I can’t find any information about that.

Thank you for any help! 🙂
