# Unit 3 lesson 26 #16

**URL:** <https://forum.code.org/t/unit-3-lesson-26-16/34141>\
**Category:** Coding and Debugging Help\
**Created:** [January 27, 2021, 2:17pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141 "2021-01-27T14:17:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothy\_lau](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/timothy_lau/32/4334_2.png) [@timothy\_lau](https://forum.code.org/u/timothy_lau)\
**Post date:** [January 27, 2021, 2:17pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/1 "2021-01-27T14:17:12Z")

</div>

Can someone help me with this code?

It keeps giving me a error code on line 125 that player.collide is not a function?

thank you

---

<div class="post-metadata">

**Author:** ![IMPixel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/impixel/32/6744_2.png) [@IMPixel](https://forum.code.org/u/IMPixel)\
**Post date:** [January 27, 2021, 8:16pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/2 "2021-01-27T20:16:43Z")

</div>

What code are you talking about? I could help you but I need to see the code before trying to see what’s wrong.

---

<div class="post-metadata">

**Author:** ![edavis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/edavis/32/4927_2.png) [@edavis](https://forum.code.org/u/edavis)\
**Post date:** [January 28, 2021, 2:40am UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/3 "2021-01-28T02:40:35Z")

</div>

If you could click on the “Share” button in the upper left corner of your screen, you can post the link to your code. This way we can help you debug your code more easily.

---

<div class="post-metadata">

**Author:** ![timothy\_lau](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/timothy_lau/32/4334_2.png) [@timothy\_lau](https://forum.code.org/u/timothy_lau)\
**Post date:** [January 28, 2021, 12:44pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/4 "2021-01-28T12:44:31Z")

</div>

> **[Check out what I made](https://studio.code.org/projects/gamelab/Hq2IIBD5dCrBajM8w0SJ0zhFpOX15kGTSMFLHIS7V4c)**
>
> 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:** [January 28, 2021, 5:08pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/5 "2021-01-28T17:08:07Z")

</div>

@timothy_lau

In line 117, you accidentally redefine player as a number … so it no longer officially exists as a sprite anymore so the collision function doesn’t know what to do.

Tiny typoe!

Mike

---

<div class="post-metadata">

**Author:** ![timothy\_lau](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/timothy_lau/32/4334_2.png) [@timothy\_lau](https://forum.code.org/u/timothy_lau)\
**Post date:** [January 28, 2021, 8:08pm UTC](https://forum.code.org/t/unit-3-lesson-26-16/34141/6 "2021-01-28T20:08:40Z")

</div>

ugh!!! so my cursing and tantrum was not the computers fault?
