# Glitches

**URL:** <https://forum.makecode.com/t/glitches/30847>\
**Category:** Help\
**Tags:** game\
**Created:** [September 25, 2024, 9:48pm UTC](https://forum.makecode.com/t/glitches/30847 "2024-09-25T21:48:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregoa2](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@gregoa2](https://forum.makecode.com/u/gregoa2)\
**Post date:** [September 25, 2024, 9:48pm UTC](https://forum.makecode.com/t/glitches/30847/1 "2024-09-25T21:48:02Z")

</div>

> **[Key Guy - (Not Bugged I hope)](https://arcade.makecode.com/S65723-04350-60633-95050)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Hello everyone,  
My student has been working on his arcade game for a while and last week it was working…he made some changes and now it glitches out. Any suggestions?  
Thank you so much for your help,  
Ms. G

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarah/32/33518_2.png) [@sarah](https://forum.makecode.com/u/sarah)\
**Post date:** [September 25, 2024, 10:19pm UTC](https://forum.makecode.com/t/glitches/30847/2 "2024-09-25T22:19:28Z")

</div>

Hi!

The problem is with this chunk of code:

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

The `pause(24000)` is causing the game to stop all foreground actions which is why you can’t use the buttons or see any of the enemies or things like that spawning as expected. If you remove line 130 here, the program should run great!

Here’s the project running with the suggested fix: [https://makecode.com/\_D28b1EKLphpc](https://makecode.com/_D28b1EKLphpc)
