# AS motion tween question?

**URL:** <https://forum.kirupa.com/t/as-motion-tween-question/93105>\
**Category:** Uncategorized\
**Created:** [October 25, 2003, 8:13pm UTC](https://forum.kirupa.com/t/as-motion-tween-question/93105 "2003-10-25T20:13:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inflicted](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Inflicted](https://forum.kirupa.com/u/Inflicted)\
**Post date:** [October 25, 2003, 8:13pm UTC](https://forum.kirupa.com/t/as-motion-tween-question/93105/1 "2003-10-25T20:13:43Z")

</div>

I got this code from another thread, and changed it into a button event handler.  
It 's a motion tween via AS.  
Is it possible to have a second button change  
it back to it’s original shape?

```auto
btn_1.onRelease = function() {
    var hDiff = Math.round(25-this._height);
    var wDiff = Math.round(500-this._width);
    this._width += wDiff/1;
    this._height += hDiff/1;
};

```

Could anyone help me with this?

thanks,

regards
