# Can I create a single event listener for all mouse events?

**URL:** <https://forum.kirupa.com/t/can-i-create-a-single-event-listener-for-all-mouse-events/316182>\
**Category:** Uncategorized\
**Created:** [November 15, 2010, 1:26pm UTC](https://forum.kirupa.com/t/can-i-create-a-single-event-listener-for-all-mouse-events/316182 "2010-11-15T13:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaedo](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Post date:** [November 15, 2010, 1:26pm UTC](https://forum.kirupa.com/t/can-i-create-a-single-event-listener-for-all-mouse-events/316182/1 "2010-11-15T13:26:11Z")

</div>

Can I create a single event listener for all mouse events ?

my understanding is no because: what’s happening is that each listener is checking for a string in an event and comparing it for a match against a list which is the listener.

thanks for the consideration,

S.
