# I hate this so bad

**URL:** <https://forum.makecode.com/t/i-hate-this-so-bad/35691>\
**Category:** Help\
**Tags:** game\
**Created:** [April 14, 2025, 4:19pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691 "2025-04-14T16:19:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makecoder123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/makecoder123/32/30686_2.png) [@Makecoder123](https://forum.makecode.com/u/Makecoder123)\
**Post date:** [April 14, 2025, 4:19pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/1 "2025-04-14T16:19:41Z")

</div>

When i use a wait block the COMPLETE GAME PAUSES FOR THAT TIME AND NOT THE SCRIPT i want it to only pause the script

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/7/0740c5841ec6747f066408a49e3e377033809ff9.png)  
Please reply

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 14, 2025, 4:37pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/2 "2025-04-14T16:37:29Z")

</div>

hello! it is indeed not safe to pause within a tile overlaps event like this; unlike the sprite overlaps event it does not spawn its own thread when triggered. luckily, it’s pretty easy to spawn your own thread if that’s what you want to do.

for the purposes of this example, i’m going to assume that the behavior you want is for this code to _not_ be retriggered when the player overlaps a second tile while this event is still paused. if that’s the case, then you can use a variable and the “after \_\_\_\_\_ do” block from the **timers** extension to do what you want:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/4/246a2ebd726499fd9954e4de23acc49902f6db2d.png)

p.s. if you’re interested, i wrote a [post](https://forum.makecode.com/t/richards-arcade-tips-4-multithreading-part-1/29496) a while ago about how threads work in arcade (warning: it’s pretty long)

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [April 14, 2025, 5:53pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/3 "2025-04-14T17:53:15Z")

</div>

You know, you can use the “and” boolean.

---

<div class="post-metadata">

**Author:** ![Makecoder123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/makecoder123/32/30686_2.png) [@Makecoder123](https://forum.makecode.com/u/Makecoder123)\
**Post date:** [April 14, 2025, 5:53pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/4 "2025-04-14T17:53:19Z")

</div>

Thank you so much now my game works!

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [April 14, 2025, 5:53pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/5 "2025-04-14T17:53:41Z")

</div>

You can use the timer extension.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 15, 2025, 5:23pm UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/6 "2025-04-15T17:23:29Z")

</div>

“and” blocks are annoying and finicky; i hate how quickly they grow horizontally when you add more clauses! nesting if statements for simple cases is easier to read/maintain imo

---

<div class="post-metadata">

**Author:** ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)\
**Post date:** [April 16, 2025, 4:36am UTC](https://forum.makecode.com/t/i-hate-this-so-bad/35691/7 "2025-04-16T04:36:44Z")

</div>

they grow longer and faster than pinnochios nose
