Help with button attributes

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