# Basic Movement

**URL:** https://forum.kirupa.com/t/basic-movement/6856
**Category:** Uncategorized
**Created:** [October 17, 2002, 9:10pm UTC](https://forum.kirupa.com/t/basic-movement/6856 "2002-10-17T21:10:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Raydred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raydred/32/65_2.png) [@Raydred](https://forum.kirupa.com/u/Raydred)
#### Post date: [October 17, 2002, 9:10pm UTC](https://forum.kirupa.com/t/basic-movement/6856/1 "2002-10-17T21:10:48Z")

</div>

Ok ok, i know i should know this but im having some dificulty with this…

I’m trying to make an Object (mc) move with Actionscript.

I know the formula on how to make an object go in a strait line, and even with acceleration, etc.

I want the MC to follow my mouse. And no like mouse trails, but like its walking towards it. =)

I just cant get it to work right… any sugestions?

if you give me a basic formula, i can probly figure out the rest.

Thanks!  
`D

---

<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: [October 17, 2002, 10:16pm UTC](https://forum.kirupa.com/t/basic-movement/6856/2 "2002-10-17T22:16:29Z")

</div>

What do you mean, walking towards it:q:

---

<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: [October 18, 2002, 12:33am UTC](https://forum.kirupa.com/t/basic-movement/6856/3 "2002-10-18T00:33:46Z")

</div>

lemme think…

ok basically, have the object start at one point,

then lets say, click another point, and have it move there.

That kind of thing.

I know how to make an object’s \_x = the mouse’ \_x etc, i want it to “dyanmically” move towards the cursor…

I dotn know how to explain it better… and if that makes no sense  
then i’ll just have to move to tibet. hehe =)

---

<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: [October 21, 2002, 7:26pm UTC](https://forum.kirupa.com/t/basic-movement/6856/4 "2002-10-21T19:26:25Z")

</div>

I don’t know if this is exactly what you mean but you might want to check it out.

[http://www.kirupa.com/developer/mx/easing\_mouseclick.asp](http://www.kirupa.com/developer/mx/easing_mouseclick.asp)

[http://www.kirupa.com/developer/mx/followease.asp](http://www.kirupa.com/developer/mx/followease.asp)

Hope this helped:beam:

---

<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: [October 22, 2002, 7:00pm UTC](https://forum.kirupa.com/t/basic-movement/6856/5 "2002-10-22T19:00:00Z")

</div>

WHoa! Yes thats exactly what i mean =)

I just cant explain things well lol =)

thanks Syntax!
