# Attaching an object to a line/path

**URL:** https://forum.highend3d.com/t/attaching-an-object-to-a-line-path/4351
**Category:** Maya
**Tags:** mel
**Created:** [June 8, 2004, 2:24pm UTC](https://forum.highend3d.com/t/attaching-an-object-to-a-line-path/4351 "2004-06-08T14:24:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![enivob](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/a87d85/32.png) [@enivob](https://forum.highend3d.com/u/enivob)
#### Post date: [June 8, 2004, 2:24pm UTC](https://forum.highend3d.com/t/attaching-an-object-to-a-line-path/4351/1 "2004-06-08T14:24:24Z")

</div>

Hi All,

Say I have a line that I created under MEL from an array of points. And say I have a sphere I created.

How do I make the sphere follow the path of the line. Also, how do I control the start and end times as far as key frames are concerned. Meaning, my animation is 500 frames long and I want the sphere to travel down the line, starting at frame 200 and ending at frame 400.

Thanks

Enivob

---

<div class="post-metadata">

### Author: ![failure](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/f08c70/32.png) [@failure](https://forum.highend3d.com/u/failure)
#### Post date: [June 8, 2004, 3:10pm UTC](https://forum.highend3d.com/t/attaching-an-object-to-a-line-path/4351/2 "2004-06-08T15:10:38Z")

</div>

serach animation section of maya help for "path animation"
