# Student needs help with Unit 3, Lesson 9

**URL:** <https://forum.code.org/t/student-needs-help-with-unit-3-lesson-9/26822>\
**Category:** Unit and Lesson Discussion\
**Created:** [May 10, 2019, 12:22pm UTC](https://forum.code.org/t/student-needs-help-with-unit-3-lesson-9/26822 "2019-05-10T12:22:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![knovak](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@knovak](https://forum.code.org/u/knovak)\
**Post date:** [May 10, 2019, 12:22pm UTC](https://forum.code.org/t/student-needs-help-with-unit-3-lesson-9/26822/1 "2019-05-10T12:22:21Z")

</div>

One of my students is having difficulty with his game. I have attached the link to his game.

He wants to have the squid change to another picture when it gets to a certain point. Is it missing a parameter?

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

Thanks.

---

<div class="post-metadata">

**Author:** ![mmathews](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mmathews/32/4419_2.png) [@mmathews](https://forum.code.org/u/mmathews)\
**Post date:** [May 10, 2019, 6:24pm UTC](https://forum.code.org/t/student-needs-help-with-unit-3-lesson-9/26822/2 "2019-05-10T18:24:13Z")

</div>

Code to check where the sprite is should be moved into the event handler for the corresponding onBoardEvent()  
Add console.log() to debug the code or add breakpoints to the code that the student thinks is not working and debug.
