# Unit 3 Lesson 16 Bubble 9 question

**URL:** <https://forum.code.org/t/unit-3-lesson-16-bubble-9-question/33801>\
**Category:** Unit and Lesson Discussion\
**Created:** [November 30, 2020, 12:59am UTC](https://forum.code.org/t/unit-3-lesson-16-bubble-9-question/33801 "2020-11-30T00:59:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltucker](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@ltucker](https://forum.code.org/u/ltucker)\
**Post date:** [November 30, 2020, 12:59am UTC](https://forum.code.org/t/unit-3-lesson-16-bubble-9-question/33801/1 "2020-11-30T00:59:52Z")

</div>

I was just working through bubble 9 on U3 Lesson 16 and I don’t understand why it wont run correctly if you put the drawsprites at the end where it normally is. In this case it only works when it’s at the top of the drawfunction. I’d appreciate it if someone could clarify that for me…

---

<div class="post-metadata">

**Author:** ![koliner](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@koliner](https://forum.code.org/u/koliner)\
**Post date:** [November 30, 2020, 3:36am UTC](https://forum.code.org/t/unit-3-lesson-16-bubble-9-question/33801/2 "2020-11-30T03:36:18Z")

</div>

It is because this program uses a sprite as a background so it draws it first, along with the creature sprite, then the creature sprite moves when the mouse moves.

---

<div class="post-metadata">

**Author:** ![ltucker](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@ltucker](https://forum.code.org/u/ltucker)\
**Post date:** [November 30, 2020, 11:32am UTC](https://forum.code.org/t/unit-3-lesson-16-bubble-9-question/33801/3 "2020-11-30T11:32:18Z")

</div>

Thank you - I didn’t catch that. I was focused on the draw loop. Makes perfect sense now.
