# disableInteractive detaches callback

**URL:** <https://phaser.discourse.group/t/disableinteractive-detaches-callback/2527>\
**Category:** Phaser 3\
**Created:** [May 22, 2019, 6:23am UTC](https://phaser.discourse.group/t/disableinteractive-detaches-callback/2527 "2019-05-22T06:23:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamessimo](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/jamessimo/32/7817_2.png) [@jamessimo](https://phaser.discourse.group/u/jamessimo)\
**Post date:** [May 22, 2019, 6:23am UTC](https://phaser.discourse.group/t/disableinteractive-detaches-callback/2527/1 "2019-05-22T06:23:23Z")

</div>

When I create a sprite,`sprite.setInteractive()` and add and `sprite.on('mousedown',{function(){console.log('hello')},this})` this works fine

however when I `call sprite.disableInteractive()` and later call sprite.setInteractive() the callback is no-longer firing.
