# \[FMX\] using on.Press in a while statement

**URL:** <https://forum.kirupa.com/t/fmx-using-on-press-in-a-while-statement/18100>\
**Category:** flash\
**Created:** [April 13, 2003, 5:57am UTC](https://forum.kirupa.com/t/fmx-using-on-press-in-a-while-statement/18100 "2003-04-13T05:57:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cg\_flipper](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cg\_flipper](https://forum.kirupa.com/u/cg_flipper)\
**Post date:** [April 13, 2003, 5:57am UTC](https://forum.kirupa.com/t/fmx-using-on-press-in-a-while-statement/18100/1 "2003-04-13T05:57:39Z")

</div>

i have a button instance that i want to continuall move a sepratev object while it, the button, is being pressed and held. :asian:
