# Button to control MC coordinates

**URL:** https://forum.kirupa.com/t/button-to-control-mc-coordinates/198466
**Category:** Uncategorized
**Created:** [August 25, 2006, 9:32am UTC](https://forum.kirupa.com/t/button-to-control-mc-coordinates/198466 "2006-08-25T09:32:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![parchow](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@parchow](https://forum.kirupa.com/u/parchow)
#### Post date: [August 25, 2006, 9:32am UTC](https://forum.kirupa.com/t/button-to-control-mc-coordinates/198466/1 "2006-08-25T09:32:49Z")

</div>

Imagine i have a button and on (press) I want a specific movieclip to change position. This is what I’d use:

```auto
on (press) {
myclipMC._y = 50;
myclipMC._x = 100;
}

```

But what I really want is the movieclip to move smoothly into the new position. How would I alter the code for this. Evidently I’d have more buttons and each one would move the clip into a new position.

And what can I do if I wanted to try to move the clip into it’s new position using motion blur? (That might be cool)

So I ask for your help, please.
