# Movement with easing

**URL:** <https://forum.kirupa.com/t/movement-with-easing/128001>\
**Category:** Uncategorized\
**Created:** [November 8, 2004, 8:44pm UTC](https://forum.kirupa.com/t/movement-with-easing/128001 "2004-11-08T20:44:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emdiesse](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)\
**Post date:** [November 8, 2004, 8:44pm UTC](https://forum.kirupa.com/t/movement-with-easing/128001/1 "2004-11-08T20:44:50Z")

</div>

How do i do it?

I have some buttons and i would like them to trigger background movement :D.

When the person puts their cursor over the button it moves a picture up to a certain x and y position with easing.

I have:  
**Buttons**  
[color=dimgray]// -Button Name -Instance name[/color]  
-button1 -1  
-button2 -2  
-button3 -3  
-button4 -4  
-button5 -5

**Background**  
[color=dimgray]// -MovieClip Name -Instance name[/color]

- Background - BG

I would like it so that when the user hovers over button one it moves the background movie clip to x = 3 and y = 10  
and when they hover over button 2 i would like it to move positions x = 20 and y = 30 and so on (any position, just so i can understand it, please use comments if you give me a code to study :D)  
Don’t forget i would like easing 😃

Please help me  
Thank You 😃
