# Iterating over an array

**URL:** <https://forum.kirupa.com/t/iterating-over-an-array/322981>\
**Category:** Uncategorized\
**Created:** [June 11, 2011, 6:31pm UTC](https://forum.kirupa.com/t/iterating-over-an-array/322981 "2011-06-11T18:31:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyriads](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tyriads](https://forum.kirupa.com/u/tyriads)\
**Post date:** [June 11, 2011, 6:31pm UTC](https://forum.kirupa.com/t/iterating-over-an-array/322981/1 "2011-06-11T18:31:55Z")

</div>

Hello everyone!

I have a small problem with iterating over array.

I would like to iterate through items gathered in my array  
in a way of “one at a time” in each muse click event  
but whenever I’m using a simple loop it just takes all my elements to process.

Is there a way to make a single iteration in each click and still increment the index value in loop?  
:thumb:
