# Add/remove EventListner Questions

**URL:** <https://forum.kirupa.com/t/add-remove-eventlistner-questions/238396>\
**Category:** Uncategorized\
**Created:** [September 10, 2007, 9:49pm UTC](https://forum.kirupa.com/t/add-remove-eventlistner-questions/238396 "2007-09-10T21:49:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![endemoniada](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Post date:** [September 10, 2007, 9:49pm UTC](https://forum.kirupa.com/t/add-remove-eventlistner-questions/238396/1 "2007-09-10T21:49:42Z")

</div>

Hi guys,

Is add/remove EventListner relatively fast ? Parts of my program require disabling user input, I was using a Boolean busyFlag but I think it’s more solid if I just remove the event listeners when busy, and add them again when not busy.

Also, what if I accidentally add two identical event listners, will the second call be ignored ? I don’t plan on it, I’m just wondering.

Thanks.
