# Bounce script

**URL:** https://forum.kirupa.com/t/bounce-script/190236
**Category:** Uncategorized
**Created:** [June 9, 2006, 5:45pm UTC](https://forum.kirupa.com/t/bounce-script/190236 "2006-06-09T17:45:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mario\_hater](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mario\_hater](https://forum.kirupa.com/u/mario_hater)
#### Post date: [June 9, 2006, 5:45pm UTC](https://forum.kirupa.com/t/bounce-script/190236/1 "2006-06-09T17:45:32Z")

</div>

does anyone know the script to make one movieclip bounce of another ?

like this :

if(this.hitTest(\_root.clip\_mc)){  
this.\_x=\*speed  
this.\_y=bla\_bla(bla)  
}

maybe not exactley like that but you get it
