# Help with button attributes

**URL:** https://forum.kirupa.com/t/help-with-button-attributes/80814
**Category:** Uncategorized
**Created:** [February 24, 2005, 10:28pm UTC](https://forum.kirupa.com/t/help-with-button-attributes/80814 "2005-02-24T22:28:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![maxoys45](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxoys45/32/1122_2.png) [@maxoys45](https://forum.kirupa.com/u/maxoys45)
#### Post date: [February 24, 2005, 10:28pm UTC](https://forum.kirupa.com/t/help-with-button-attributes/80814/1 "2005-02-24T22:28:39Z")

</div>

I have made a button and some txt. when i click the button the text moves up the amount of pixels i chose. i want to make it so if you hold the button it moves continuosly. here is the script i have at the moment making it only move when u click it.

on(release) {  
writing.\_y = writing.\_y - 5;  
}

writing is the instance name of the text.

thank you
