# Make em bounce

**URL:** https://forum.kirupa.com/t/make-em-bounce/176485
**Category:** Uncategorized
**Created:** [January 24, 2006, 3:35pm UTC](https://forum.kirupa.com/t/make-em-bounce/176485 "2006-01-24T15:35:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pkcidstudio](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pkcidstudio](https://forum.kirupa.com/u/pkcidstudio)
#### Post date: [January 24, 2006, 3:35pm UTC](https://forum.kirupa.com/t/make-em-bounce/176485/1 "2006-01-24T15:35:56Z")

</div>

onClipEvent (load) {  
\_x = 0;  
//\_y = 0;  
speed = 5;  
}  
onClipEvent (enterFrame) {  
endX = \_root.\_xmouse;  
//endY = \_root.\_ymouse;  
\_x += (endX-\_x)/speed;  
//\_y += (endY-\_y)/speed;  
}

if i wanted to add a little bounce effect that when scrolled it went a hair past the destination but came back how would that look?
