# Rectangle mc's and adjustments

**URL:** <https://forum.kirupa.com/t/rectangle-mcs-and-adjustments/103069>\
**Category:** Uncategorized\
**Created:** [March 1, 2004, 5:21pm UTC](https://forum.kirupa.com/t/rectangle-mcs-and-adjustments/103069 "2004-03-01T17:21:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iammontoya](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Iammontoya](https://forum.kirupa.com/u/Iammontoya)\
**Post date:** [March 1, 2004, 5:21pm UTC](https://forum.kirupa.com/t/rectangle-mcs-and-adjustments/103069/1 "2004-03-01T17:21:59Z")

</div>

This is what I want to do… and my brain is fried or something, because I know I already wrote something like this…

I have five rectangle mc’s in five different locations. The rectangles are different sizes.

I want to be able to click on rectangle and have its x, y, width and height adjust over time to a predetermined size.

In other words, there is a sixth rectangle of a fixed size (lets call it the final size). When clicked each box will change its values over time until it reaches the “final size and position”.

Yes… onEnterframe… yes += and -= … it’s the logic in the code I want to nail down. Plus, I just haven’t written anything in here in a while.
