# Motion tween object along path

**URL:** https://forum.kirupa.com/t/motion-tween-object-along-path/308785
**Category:** flash
**Created:** [April 30, 2010, 12:28am UTC](https://forum.kirupa.com/t/motion-tween-object-along-path/308785 "2010-04-30T00:28:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![emman879](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@emman879](https://forum.kirupa.com/u/emman879)
#### Post date: [April 30, 2010, 12:28am UTC](https://forum.kirupa.com/t/motion-tween-object-along-path/308785/1 "2010-04-30T00:28:44Z")

</div>

Hi guys,

Im trying to make a ball move to the position of a crosshair (not the mouse, but another object on the stage) which stops after 15 seconds (if you can imagine a penalty shoot out game).

So the ball is still to begin, but on an \*\*[COLOR=Black]onClipEvent(enterFrame)[/COLOR]\*\*command it should move to the target (the crosshair)

Getting the ball to move along a line at a specified speed is no problem, but I want the ball to actually go to and stop wherever the crosshair is on the stage.

Your help is immensely appreciated.

Its in AS2 by the way 🙂

Thank you.
