# Interested in slowing down formula

**URL:** <https://forum.kirupa.com/t/interested-in-slowing-down-formula/155719>\
**Category:** Uncategorized\
**Created:** [July 19, 2005, 8:47pm UTC](https://forum.kirupa.com/t/interested-in-slowing-down-formula/155719 "2005-07-19T20:47:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goosedroppings](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@Goosedroppings](https://forum.kirupa.com/u/Goosedroppings)\
**Post date:** [July 19, 2005, 8:47pm UTC](https://forum.kirupa.com/t/interested-in-slowing-down-formula/155719/1 "2005-07-19T20:47:37Z")

</div>

Hello,

I’m interested in adding a variable to this mathematic formula to slow the bounce down. Otherwise, my alternative is to reduce the frame rate.

```auto
onClipEvent(load){
	bounce = 2.9; // the higher, the more bouncy

}
onClipEvent(enterFrame){
	_yscale -= ((_yscale - target_yscale) * bounce) / 2;
	_xscale -= ((_xscale - target_xscale) * bounce) / 2;
}

onClipEvent(load){
	_parent.scaler.target_xscale = 300;
	_parent.scaler.target_yscale = 300;
}

```

I’ve attached a file to illustrate the situation.  
Thank you for any help.
