# Sprite Movement not working

**URL:** <https://forum.code.org/t/sprite-movement-not-working/23969>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3, csd-unit-3-lesson-14\
**Created:** [January 11, 2019, 4:58pm UTC](https://forum.code.org/t/sprite-movement-not-working/23969 "2019-01-11T16:58:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrosen](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mrosen](https://forum.code.org/u/mrosen)\
**Post date:** [January 11, 2019, 4:58pm UTC](https://forum.code.org/t/sprite-movement-not-working/23969/1 "2019-01-11T16:58:32Z")

</div>

I am working with a student on her Interactive Greeting card in lesson 14 of CS Discoveries Unit 3. We are having a problem with getting her balloons to fall. We have tried playing with getting her balloons to fall with and without a conditional in the draw loop, but nothing seems to work. Here is a link to her project: [https://studio.code.org/projects/gamelab/G7jAyb\_xUnr\_uaVgPonpefMy0fbzkP0WdQwKa3cgerU](https://studio.code.org/projects/gamelab/G7jAyb_xUnr_uaVgPonpefMy0fbzkP0WdQwKa3cgerU)

Does anyone know why this isn’t working?

I am attaching some screenshot what we did with the balloon movement code outside the conditional. Regardless of what we do, there is no balloon movement.

Thanks in advanced!

Melissa

 ![06%20AM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/2/234b9ee0250cc4b6f0a35d38e7b9194e61464b75.png)

---

<div class="post-metadata">

**Author:** ![elizabeth\_admin](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@elizabeth\_admin](https://forum.code.org/u/elizabeth_admin)\
**Post date:** [January 11, 2019, 5:58pm UTC](https://forum.code.org/t/sprite-movement-not-working/23969/2 "2019-01-11T17:58:17Z")

</div>

Hi Melissa,

`drawSprites` is being called outside the draw loop instead of inside of it. That means that the sprites are only being drawn once, at the beginning of the program. The sprites are being updated, but not drawn to the screen.

You might suggest that the student think of the sprites as a stamp. You can make changes to them, but you wont see those changes until you actually use the stamp, which is what `drawSprites` does.

Elizabeth
