# Debug Blurriness during Sprite's Movement

**URL:** <https://forum.code.org/t/debug-blurriness-during-sprites-movement/35441>\
**Category:** Coding and Debugging Help\
**Created:** [November 18, 2021, 5:59pm UTC](https://forum.code.org/t/debug-blurriness-during-sprites-movement/35441 "2021-11-18T17:59:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheri.mcnair](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@sheri.mcnair](https://forum.code.org/u/sheri.mcnair)\
**Post date:** [November 18, 2021, 5:59pm UTC](https://forum.code.org/t/debug-blurriness-during-sprites-movement/35441/1 "2021-11-18T17:59:57Z")

</div>

Hi everyone,  
We are still in the first part of Unit 3 at Lesson 17. Students are creating a “2 scene” e-Card for their projects. The student has attempted “debugging” his code to fix what is happening in his card on the 2nd scene. First, here is the link to his card:  
[https://studio.code.org/projects/gamelab/MsbukOfivb8xBRt5F1SYinZAFStkA3biTd-TApgOs4I](https://studio.code.org/projects/gamelab/MsbukOfivb8xBRt5F1SYinZAFStkA3biTd-TApgOs4I)  
What is happening:  
Bats fly when clicking on jackolantern. However, they are blurry.

What expects to happen:  
When the user clicks on the jackolantern, the bats should fly to the right and then to the left off screen without being blurry.

What he has tried:  
He has tried repositioning the drawSprites block in several different locations. He has also tried different sequences to the coding blocks on the second scene.

I am sure this is something very easy that we are not seeing… Thanks for your help on this.

---

<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:** [November 18, 2021, 6:25pm UTC](https://forum.code.org/t/debug-blurriness-during-sprites-movement/35441/2 "2021-11-18T18:25:13Z")

</div>

@sheri.mcnair ,

Fun card! I’m starting that project this week and hope my students do as well!

What is happening is that the background isn’t being redrawn with each movement of the bats. So, the student will need to add a background block into the code where the bats move. It may require one inside of each conditional where the bats move (ie. after lines 61 and again after line 68).

He may also need to redraw Happy Halloween if he wants it to stick around as well.

Let us know if you need any more assistance!

Mike

---

<div class="post-metadata">

**Author:** ![sheri.mcnair](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@sheri.mcnair](https://forum.code.org/u/sheri.mcnair)\
**Post date:** [November 19, 2021, 3:40pm UTC](https://forum.code.org/t/debug-blurriness-during-sprites-movement/35441/3 "2021-11-19T15:40:59Z")

</div>

Thank you so much, Mike. You always come through for me! The student was so thrilled to get some guidance on the why and how to fix.
