# Generic event listeners

**URL:** <https://forum.kirupa.com/t/generic-event-listeners/238189>\
**Category:** Uncategorized\
**Created:** [September 8, 2007, 1:09am UTC](https://forum.kirupa.com/t/generic-event-listeners/238189 "2007-09-08T01:09:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakukaji](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@hakukaji](https://forum.kirupa.com/u/hakukaji)\
**Post date:** [September 8, 2007, 1:09am UTC](https://forum.kirupa.com/t/generic-event-listeners/238189/1 "2007-09-08T01:09:58Z")

</div>

I have an array of objects, all the same type and I want them all to utilize an event listener, how can i do this? also is there an method like objectType(), so that when i go through the array I can say if (objects\*.objectType(blah)) ?
