# Coding help Unit 3 Building a Game

**URL:** https://forum.code.org/t/coding-help-unit-3-building-a-game/24850
**Category:** Coding and Debugging Help
**Created:** [February 14, 2019, 4:40pm UTC](https://forum.code.org/t/coding-help-unit-3-building-a-game/24850 "2019-02-14T16:40:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mabenites](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@mabenites](https://forum.code.org/u/mabenites)
#### Post date: [February 14, 2019, 4:40pm UTC](https://forum.code.org/t/coding-help-unit-3-building-a-game/24850/1 "2019-02-14T16:40:21Z")

</div>

One of my students animations is not working. He wants it to where the sprites are moving from left to right, and instead it is moving up and down as it is moving across the screen, I am not sure what is wrong with his code.

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

---

<div class="post-metadata">

### Author: ![karenma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/karenma/32/4924_2.png) [@karenma](https://forum.code.org/u/karenma)
#### Post date: [February 15, 2019, 4:21am UTC](https://forum.code.org/t/coding-help-unit-3-building-a-game/24850/2 "2019-02-15T04:21:50Z")

</div>

Hi Maria,

I removed the code that was causing the sprites to move up and down. Now they just move from left to right. You can “open link in new tab” for the student’s code and my code to compare. I don’t know if this was what the student was trying to do. If not, please let us know.

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