# How to make background scroll switch backgrounds cleanly?

**URL:** https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909
**Category:** Help
**Created:** [July 12, 2026, 8:34pm UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909 "2026-07-12T20:34:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Tasty\_Turnip](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tasty_turnip/32/32458_2.png) [@Tasty\_Turnip](https://forum.makecode.com/u/Tasty_Turnip)
#### Post date: [July 12, 2026, 8:34pm UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909/1 "2026-07-12T20:34:41Z")

</div>

> **[Cheese Jump 2](https://arcade.makecode.com/S10705-26451-78807-92814)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

At one point in my game (at 100 score). I want to switch to a different background while using the background scroll, but it is very abrupt. Is there any way to queue a background so it will come through the next time the background scroll loops?

---

<div class="post-metadata">

### Author: ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)
#### Post date: [July 14, 2026, 6:13pm UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909/2 "2026-07-14T18:13:12Z")

</div>

Looking at the blocks from the extension, I don’t think that’s possible. But maybe some other advanced code could do the job! Otherwise great game you made, I love the graphics and gameplay, super fun!

 ![IMG_1760](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/d/3d9fc37fc61b5f560d7242fd0ec5f643c35ca502.jpeg)

---

<div class="post-metadata">

### Author: ![Air](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/air/32/26413_2.png) [@Air](https://forum.makecode.com/u/Air)
#### Post date: [July 14, 2026, 6:26pm UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909/3 "2026-07-14T18:26:43Z")

</div>

you could try making an animation

---

<div class="post-metadata">

### Author: ![Tasty\_Turnip](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tasty_turnip/32/32458_2.png) [@Tasty\_Turnip](https://forum.makecode.com/u/Tasty_Turnip)
#### Post date: [July 20, 2026, 8:45pm UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909/4 "2026-07-20T20:45:41Z")

</div>

Do you know what other code I could do? I tried using this code, which works, but it changes the background too soon. I want to make this happen later, but if I change the starting background offset, the “if level = 2” block, or the block that changes the level, it stops working.

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

---

<div class="post-metadata">

### Author: ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)
#### Post date: [July 21, 2026, 5:13am UTC](https://forum.makecode.com/t/how-to-make-background-scroll-switch-backgrounds-cleanly/44909/5 "2026-07-21T05:13:38Z")

</div>

You could just detect when the score reaches a certain point or higher.
