# Holding Down the Mouse

**URL:** <https://forum.kirupa.com/t/holding-down-the-mouse/128920>\
**Category:** Uncategorized\
**Created:** [November 17, 2004, 4:48pm UTC](https://forum.kirupa.com/t/holding-down-the-mouse/128920 "2004-11-17T16:48:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 17, 2004, 4:48pm UTC](https://forum.kirupa.com/t/holding-down-the-mouse/128920/1 "2004-11-17T16:48:40Z")

</div>

Is there any way of making something move when the mouse is held down on it (a button)? I am doing a custom scroll thing for my website.

Please Help 🅱

Benji

Btw, the code is as follows at the moment:

```auto
on (release) {
 intro.scroll -= 2;

}

```

For the Up Scroll Button. I want to change the (release) to something else, the behaviour that lets you hold down the mouse…

Thanks

Benji…again… :ko:
