# Moving a movieclip in constant increments

**URL:** <https://forum.kirupa.com/t/moving-a-movieclip-in-constant-increments/211711>\
**Category:** flash\
**Created:** [January 4, 2007, 2:01pm UTC](https://forum.kirupa.com/t/moving-a-movieclip-in-constant-increments/211711 "2007-01-04T14:01:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcugreg](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vcugreg](https://forum.kirupa.com/u/vcugreg)\
**Post date:** [January 4, 2007, 2:01pm UTC](https://forum.kirupa.com/t/moving-a-movieclip-in-constant-increments/211711/1 "2007-01-04T14:01:41Z")

</div>

Hello. I was wondering if there is a way to adapt this code I am using on a button.

```auto

on (press) {
	bigscan1._y -= 4;
}

```

This code works fine on the button and moves the movieclip each time the button is pressed by the viewer. My problem is, I would like the viewer to be able to just hold the button down and the movieclip would constantly apply the \_y -=4

Is it possible to adapt this script to make it constantly move while the viewer holds down the button? As it stands now, it only moves once when the viewer clicks the button. So in order to move the movieclip 8 pixels, the viewer would have to click the button twice. Thank you for any help you can give me on this!

Sincerely,  
Greg
