# Code Problem for unit 3 lesson 27

**URL:** <https://forum.code.org/t/code-problem-for-unit-3-lesson-27/34794>\
**Category:** Coding and Debugging Help\
**Tags:** csd-unit-3\
**Created:** [June 8, 2021, 1:34pm UTC](https://forum.code.org/t/code-problem-for-unit-3-lesson-27/34794 "2021-06-08T13:34:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothy\_lau](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/timothy_lau/32/4334_2.png) [@timothy\_lau](https://forum.code.org/u/timothy_lau)\
**Post date:** [June 8, 2021, 1:34pm UTC](https://forum.code.org/t/code-problem-for-unit-3-lesson-27/34794/1 "2021-06-08T13:34:17Z")

</div>

> **[Check out what I made](https://studio.code.org/projects/gamelab/K4RTIFt6ajIDNcJgWpjL9upHwybzANsls8fY7BXsJzs)**
>
> I wrote the code myself with Code.org

the score only shows on screen for the first background? any ideas?

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [June 8, 2021, 3:16pm UTC](https://forum.code.org/t/code-problem-for-unit-3-lesson-27/34794/2 "2021-06-08T15:16:11Z")

</div>

@timothy_lau

When the background changes, that is happening below the score function inside the draw loop. This places the backgrounds on top of the score. The function that displays the score needs to come after the functions that draw new backgrounds.

Good luck!

Mike
