# Background Scroll Wont Work

**URL:** <https://forum.makecode.com/t/background-scroll-wont-work/18068>\
**Category:** Help\
**Created:** [February 19, 2023, 8:55pm UTC](https://forum.makecode.com/t/background-scroll-wont-work/18068 "2023-02-19T20:55:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![meeeeeeeep1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meeeeeeeep1/32/7912_2.png) [@meeeeeeeep1](https://forum.makecode.com/u/meeeeeeeep1)\
**Post date:** [February 19, 2023, 8:55pm UTC](https://forum.makecode.com/t/background-scroll-wont-work/18068/1 "2023-02-19T20:55:47Z")

</div>

I am creating a car game and the background scroll won’t work. I’m using the Scroller extension. The background offset block works, but not the scroll. I’m still working on it so the other code isn’t finished.

Here is the link to the game:

> [https://arcade.makecode.com/S50037-51112-43877-94466](https://arcade.makecode.com/S50037-51112-43877-94466)

Here is a screenshot of the scrolling code:  
 ![Screenshot 2023-02-18 at 14-33-02 Microsoft MakeCode Arcade](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/190d5c378ac7391426266c81d9d936d67f346b9a.png)

The background is supposed to scroll down, but it doesn’t. Does anyone have a fix?

---

<div class="post-metadata">

**Author:** ![meeeeeeeep1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meeeeeeeep1/32/7912_2.png) [@meeeeeeeep1](https://forum.makecode.com/u/meeeeeeeep1)\
**Post date:** [February 21, 2023, 10:53pm UTC](https://forum.makecode.com/t/background-scroll-wont-work/18068/2 "2023-02-21T22:53:16Z")

</div>

Also, the scroll suddenly stopped working. I’ve already adjusted the speed and it still doesn’t work

---

<div class="post-metadata">

**Author:** ![IMakeCode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/imakecode/32/17303_2.png) [@IMakeCode](https://forum.makecode.com/u/IMakeCode)\
**Post date:** [February 21, 2023, 10:58pm UTC](https://forum.makecode.com/t/background-scroll-wont-work/18068/3 "2023-02-21T22:58:58Z")

</div>

Fixed it! The reason why the background wouldn’t scroll is because the background offset is constantly being set to 0, so I changed it to where it isn’t constant.

> **[Car Chase](https://arcade.makecode.com/S72489-18674-89869-59429)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![meeeeeeeep1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meeeeeeeep1/32/7912_2.png) [@meeeeeeeep1](https://forum.makecode.com/u/meeeeeeeep1)\
**Post date:** [February 22, 2023, 5:57pm UTC](https://forum.makecode.com/t/background-scroll-wont-work/18068/4 "2023-02-22T17:57:28Z")

</div>

> [@IMakeCode](#):
>
> wouldn

thank you so much!
