# CSD Unit 3 Lesson 13 - Mini-project Captioned Scenes

**URL:** <https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271>\
**Category:** Coding and Debugging Help\
**Created:** [April 5, 2024, 5:24pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271 "2024-04-05T17:24:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![langilla1](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@langilla1](https://forum.code.org/u/langilla1)\
**Post date:** [April 5, 2024, 5:24pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/1 "2024-04-05T17:24:32Z")

</div>

[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]

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

**What I expect to happen:** Students inside window should be cadet blue (line 66)  
**What actually happens: When she places the cat (line 70) the blue background window and window side goes away**  
What I’ve tried: re-arranging

---

<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:** [April 5, 2024, 5:30pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/2 "2024-04-05T17:30:16Z")

</div>

@langilla1,

Each time you use the drawsprites() block, it will draw all of the sprites, so this draws the walls again over the window when you probably just want to draw the cat.

There is an undocumented code you can use. drawSprite(cat)

That will draw just the cat. Give it a shot!

Mike

---

<div class="post-metadata">

**Author:** ![langilla1](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@langilla1](https://forum.code.org/u/langilla1)\
**Post date:** [April 5, 2024, 5:59pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/3 "2024-04-05T17:59:06Z")

</div>

For some odd reason when I try that it places the cat in the top left corner…

---

<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:** [April 7, 2024, 5:55pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/4 "2024-04-07T17:55:45Z")

</div>

So you only replaced the one drawSprites with a drawSprite(cat)?

When i did that, it worked and didnt move the cat at all.

Mike

---

<div class="post-metadata">

**Author:** ![langilla1](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@langilla1](https://forum.code.org/u/langilla1)\
**Post date:** [April 8, 2024, 11:50am UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/5 "2024-04-08T11:50:55Z")

</div>

This is what happens when I did it.

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

---

<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:** [April 8, 2024, 1:55pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/6 "2024-04-08T13:55:22Z")

</div>

@langilla1,

Ok … I know why! Easy fix. Line 73 … it should be drawSprite(cat); – not drawSprites(cat).

It’s an undocumented block that only draws one sprite, so that’s why it’s sprite (singular) instead of Sprites (plural).

Good luck!

Mike

---

<div class="post-metadata">

**Author:** ![langilla1](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@langilla1](https://forum.code.org/u/langilla1)\
**Post date:** [April 8, 2024, 3:48pm UTC](https://forum.code.org/t/csd-unit-3-lesson-13-mini-project-captioned-scenes/39271/7 "2024-04-08T15:48:12Z")

</div>

YES! That did it - thank you!
