# Unit 3, Lesson 22: Issue with student game

**URL:** <https://forum.code.org/t/unit-3-lesson-22-issue-with-student-game/13450>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3\
**Created:** [January 2, 2018, 3:26pm UTC](https://forum.code.org/t/unit-3-lesson-22-issue-with-student-game/13450 "2018-01-02T15:26:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hensleyn](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@hensleyn](https://forum.code.org/u/hensleyn)\
**Post date:** [January 2, 2018, 3:26pm UTC](https://forum.code.org/t/unit-3-lesson-22-issue-with-student-game/13450/1 "2018-01-02T15:26:46Z")

</div>

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

The student is having difficulty with the “fire” at the top of the screen. It moves back and forth when she doesn’t want it to. We have removed things, added things, etc. and cannot get it to stop. The effect she wants is for the “fire” to be still until the player hits the space bar. Once the space bar is hit, she wants the fire to fall down the screen. I realize that function is no longer in the code, as we deleted things in hopes that we could get it to move. The fire still stays at the top and bobs back and forth…help! I attached the link at the top of this message.

---

<div class="post-metadata">

**Author:** ![anmrobnott](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/anmrobnott/32/505_2.png) [@anmrobnott](https://forum.code.org/u/anmrobnott)\
**Post date:** [January 2, 2018, 7:47pm UTC](https://forum.code.org/t/unit-3-lesson-22-issue-with-student-game/13450/2 "2018-01-02T19:47:44Z")

</div>

@hensleyn  
The function playertouchesfire seems to be missing its conditional statement to check if it is actually touching.

Happy computing,  
Andrea
