# Array buttons

**URL:** <https://forum.kirupa.com/t/array-buttons/290217>\
**Category:** Uncategorized\
**Created:** [June 11, 2009, 11:34am UTC](https://forum.kirupa.com/t/array-buttons/290217 "2009-06-11T11:34:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quinster](https://avatars.discourse-cdn.com/v4/letter/q/2acd7d/32.png) [@Quinster](https://forum.kirupa.com/u/Quinster)\
**Post date:** [June 11, 2009, 11:34am UTC](https://forum.kirupa.com/t/array-buttons/290217/1 "2009-06-11T11:34:11Z")

</div>

I’ve been lookign around for this but cant seem to find how to do it. How do you make a array of buttons then call it in a event listner? The idea is that I don’t have to creat code for each button. it can just run it over for each button.
