# Button question

**URL:** <https://forum.kirupa.com/t/button-question/41969>\
**Category:** Uncategorized\
**Created:** [February 3, 2004, 9:52pm UTC](https://forum.kirupa.com/t/button-question/41969 "2004-02-03T21:52:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloKittyGurl](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@HelloKittyGurl](https://forum.kirupa.com/u/HelloKittyGurl)\
**Post date:** [February 3, 2004, 9:52pm UTC](https://forum.kirupa.com/t/button-question/41969/1 "2004-02-03T21:52:00Z")

</div>

Hey all peoples:beam:  
Here is the situation, I have a button that makes something move when pressed. But the thing is that I need to keep pressing the button to make it move. Is there a way that I can just press and hold to make it keep moving? Thanks in advance:trout:  
RoxyGurl

---

<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:** [February 4, 2004, 1:14am UTC](https://forum.kirupa.com/t/button-question/41969/2 "2004-02-04T01:14:43Z")

</div>

Thank you Seretha, and Lunatic.  
I still am having trouble following directions:red:  
I am going to try and attach my simple file, and hopefully someone can help me. Again I want to click and hold the left and right button to continuously scroll.  
Thank you,  
RoxyGurl:D

---

<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:** [February 4, 2004, 1:14pm UTC](https://forum.kirupa.com/t/button-question/41969/3 "2004-02-04T13:14:27Z")

</div>

Here you go 🙂 I used an onEnterFrame handler to make the movement continue when pressed. And when you release the button, the onEnterFrame is removed 🙂

---

<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:** [February 5, 2004, 11:52pm UTC](https://forum.kirupa.com/t/button-question/41969/4 "2004-02-05T23:52:30Z")

</div>

Thank you sooo much Voetsjoeba!!:thumb:  
It works fine and what I needed!!  
Thanks again,  
RoxyGurl:disco:

---

<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:** [February 6, 2004, 7:28pm UTC](https://forum.kirupa.com/t/button-question/41969/5 "2004-02-06T19:28:33Z")

</div>

You’re welcome 😉
