# Moving rectangle help

**URL:** https://forum.kirupa.com/t/moving-rectangle-help/126448
**Category:** Uncategorized
**Created:** [October 23, 2004, 2:50pm UTC](https://forum.kirupa.com/t/moving-rectangle-help/126448 "2004-10-23T14:50:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Fact](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@Fact](https://forum.kirupa.com/u/Fact)
#### Post date: [October 23, 2004, 2:50pm UTC](https://forum.kirupa.com/t/moving-rectangle-help/126448/1 "2004-10-23T14:50:47Z")

</div>

I have this rectangle which when it reaches its \_yscale 100 , it will decrease till it reaches 0 , then move back up to 100 , and so on… but i cant seem to do it.

heres my code so far(im learning flashMX btw)
