# Help!

**URL:** <https://forum.kirupa.com/t/help/541>\
**Category:** Uncategorized\
**Created:** [July 22, 2002, 6:24am UTC](https://forum.kirupa.com/t/help/541 "2002-07-22T06:24:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sw0L\_z](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@Sw0L\_z](https://forum.kirupa.com/u/Sw0L_z)\
**Post date:** [July 22, 2002, 6:24am UTC](https://forum.kirupa.com/t/help/541/1 "2002-07-22T06:24:50Z")

</div>

Wut would be the code if i wanted an object to follow my x axis inside of some shape…example [www.schaferstudios.com](http://www.schafersrudios.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 22, 2002, 6:32am UTC](https://forum.kirupa.com/t/help/541/2 "2002-07-22T06:32:14Z")

</div>

You wrote the URL wrong : [http://www.schaferstudios.com](http://www.schaferstudios.com)

About that effect, all you need to do is move your object to the same \_x position as the mouse

```auto
onClipEvent (enterFrame) {
   this._x = _root._xmouse;
}

```

Simple, isn’t it ?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 1, 2002, 9:29am UTC](https://forum.kirupa.com/t/help/541/3 "2002-08-01T09:29:40Z")

</div>

well… really dont know how long its been since i posted that … but u know wut…ive spent the last few weeks stuck in flash and im starting to not use my n00bish ways and i got it to work finally…but it didnt work right and it took like 5x that much script! Urs worked perfect! thx alot!
