# Group of Squares: one gets bigger, others get small?

**URL:** <https://forum.kirupa.com/t/group-of-squares-one-gets-bigger-others-get-small/206305>\
**Category:** flash\
**Created:** [November 7, 2006, 12:55am UTC](https://forum.kirupa.com/t/group-of-squares-one-gets-bigger-others-get-small/206305 "2006-11-07T00:55:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidOrtiz](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Post date:** [November 7, 2006, 12:55am UTC](https://forum.kirupa.com/t/group-of-squares-one-gets-bigger-others-get-small/206305/1 "2006-11-07T00:55:43Z")

</div>

Hi, im wondering what that effect is called or how to achieve it where let’s say i have 6 squares, 3 on top, 3 on the bottom(2x3 matrix)

and where if i click one, it gets bigger, and all the other ones get smaller. the problem here is the how they get bigger.

if i click the middle square in the top row, it should stay in it’s position and grow where as if i click the bottom right one, it should grow towards the far left side.

hope that explains what im looking to do?

I’m guessing the registration point needs to be changed dynamically?

thanks.
