# Array Question

**URL:** <https://forum.kirupa.com/t/array-question/272295>\
**Category:** Uncategorized\
**Created:** [October 3, 2008, 4:40pm UTC](https://forum.kirupa.com/t/array-question/272295 "2008-10-03T16:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynastyjp](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@dynastyjp](https://forum.kirupa.com/u/dynastyjp)\
**Post date:** [October 3, 2008, 4:40pm UTC](https://forum.kirupa.com/t/array-question/272295/1 "2008-10-03T16:40:35Z")

</div>

Just a quick question, I know it can’t be this hard.

I’m pulling in external images who’s file names are stored in an array. It’s a slide show so every 9 seconds or so my function movies on to the next item in the array and displays the image.

I have a set of icons that I’d like to light up depending on what image is currently loaded. I’ve searched every where and for the life of me I can not figure how I can check the current index of an array so that I can have the icons light up appropriately any help would be appreciated!
