# Array help

**URL:** <https://forum.kirupa.com/t/array-help/212116>\
**Category:** Uncategorized\
**Created:** [January 8, 2007, 5:48pm UTC](https://forum.kirupa.com/t/array-help/212116 "2007-01-08T17:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonks](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@tonks](https://forum.kirupa.com/u/tonks)\
**Post date:** [January 8, 2007, 5:48pm UTC](https://forum.kirupa.com/t/array-help/212116/1 "2007-01-08T17:48:00Z")

</div>

Hello  
Can someone help solve this for me so I can get my head around how to use arrays. Would be much appreciated?!

I have one object which changes to a different size everytime a different button is clicked. I have this on the button.

```auto
object1._xscale = 100;
object1._yscale = 100;

object2._xscale = 65;
object2._yscale = 65;

```

etc, etc…

Now how would I put this in an arrray so I dont have to keep writing xscale, yscale everytime? In other words I want to be able to just write the values.
