# Quest Question

**URL:** <https://forum.makecode.com/t/quest-question/37668>\
**Category:** Help\
**Tags:** game, extension\
**Created:** [June 30, 2025, 5:37pm UTC](https://forum.makecode.com/t/quest-question/37668 "2025-06-30T17:37:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [June 30, 2025, 8:24pm UTC](https://forum.makecode.com/t/quest-question/37668/2 "2025-06-30T20:24:15Z")

</div>

the boolean name is more fitting to be “if not interacted”

when creating the sprite, define the boolean as true  
Then when calling this section of the code, switch it to false so that in the next gametick when the overlap block is called again, it doesn’t run the proceeding code again and again since the if statement only runs if the boolean is true.

you ould also just do the opposite with not blocks (if not interacted, then run etc and keep the og name)

OR just use this block:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/c/cc78e896f555a9479d2757760cf3e09d1786fc6d.png)

from this extension: [https://github.com/riknoll/arcade-sprite-events](https://github.com/riknoll/arcade-sprite-events)  
forum link on how to use the blocks : [Arcade-sprite-events extension](https://forum.makecode.com/t/arcade-sprite-events-extension/13453)

---

_[View the full topic](https://forum.makecode.com/t/quest-question/37668)._
