# Ease Scroll

**URL:** <https://forum.kirupa.com/t/ease-scroll/226675>\
**Category:** Uncategorized\
**Created:** [May 23, 2007, 2:19am UTC](https://forum.kirupa.com/t/ease-scroll/226675 "2007-05-23T02:19:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dColumbus](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Post date:** [May 23, 2007, 2:19am UTC](https://forum.kirupa.com/t/ease-scroll/226675/1 "2007-05-23T02:19:46Z")

</div>

how would I change this code:

```auto

up_arrow.onRelease = function() {
    form.body_txt.scroll--;
};

down_arrow.onRelease = function() {
    form.body_txt.scroll++;
};

```

…so that the scrolling eases. I am assuming that you would instead of say “++” you would assign a number like 3 and then divide the number by the ending point. But, even though that sounds simple enough, I’m not sure how to apply it in this sense.

Thanks
