# How can I fix lag in my makecode editor?

**URL:** https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746
**Category:** Help
**Created:** [July 2, 2026, 5:57pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746 "2026-07-02T17:57:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [July 2, 2026, 5:57pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746/1 "2026-07-02T17:57:58Z")

</div>

ive been working on my banana bonanza game recently and it has way to much code so now it lags

and its very hard to code under this condition can anyone help me find a way to make it not so laggy?

thanks! 😁

---

<div class="post-metadata">

### Author: ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)
#### Post date: [July 3, 2026, 3:54pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746/2 "2026-07-03T15:54:37Z")

</div>

make everything a function or collapse blocks by right clicking to the one holding all of them

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [July 3, 2026, 3:56pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746/3 "2026-07-03T15:56:00Z")

</div>

Javascript/Python

---

<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: [July 3, 2026, 4:07pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746/4 "2026-07-03T16:07:33Z")

</div>

Either switch to JavaScript/Python or maybe start collapsing your blocks.

---

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [July 8, 2026, 5:50pm UTC](https://forum.makecode.com/t/how-can-i-fix-lag-in-my-makecode-editor/44746/5 "2026-07-08T17:50:16Z")

</div>

yo thanks!
