# Checking instance name (character selection screen)

**URL:** <https://forum.kirupa.com/t/checking-instance-name-character-selection-screen/323270>\
**Category:** Uncategorized\
**Created:** [June 23, 2011, 4:14am UTC](https://forum.kirupa.com/t/checking-instance-name-character-selection-screen/323270 "2011-06-23T04:14:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TehWut](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@TehWut](https://forum.kirupa.com/u/TehWut)\
**Post date:** [June 23, 2011, 4:14am UTC](https://forum.kirupa.com/t/checking-instance-name-character-selection-screen/323270/1 "2011-06-23T04:14:24Z")

</div>

Hello Kirupa Community. I am trying to make a character selection screen. So I thought the most efficient (for my skill level) was to make a single “selectionBox” class. Then I would add mulitple instances of this class with different names (not through code, just drag them and give them names). then through a mouse event listener, I could go through and check to see the instance names of the “selectionBox” class. Problem is, how could I do this? I dont know how to check instance name.

EDIT: I think I’m leaning towards an array, but I have not the slightest idea how to use that…
