# ERROR: Line: 129: TypeError: softballScoreboard is not a function

**URL:** <https://forum.code.org/t/error-line-129-typeerror-softballscoreboard-is-not-a-function/26552>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3-lesson-22\
**Created:** [April 25, 2019, 5:13pm UTC](https://forum.code.org/t/error-line-129-typeerror-softballscoreboard-is-not-a-function/26552 "2019-04-25T17:13:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshimon](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jshimon](https://forum.code.org/u/jshimon)\
**Post date:** [April 25, 2019, 5:13pm UTC](https://forum.code.org/t/error-line-129-typeerror-softballscoreboard-is-not-a-function/26552/1 "2019-04-25T17:13:38Z")

</div>

My student is getting this error with her code and can’t seem to correct it. Please HELP!

Here is the shared link to her game.

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

---

<div class="post-metadata">

**Author:** ![bradleywellsashley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bradleywellsashley/32/522_2.png) [@bradleywellsashley](https://forum.code.org/u/bradleywellsashley)\
**Post date:** [April 25, 2019, 5:26pm UTC](https://forum.code.org/t/error-line-129-typeerror-softballscoreboard-is-not-a-function/26552/2 "2019-04-25T17:26:11Z")

</div>

Jason,

The name `softballScoreboard` was used in the program to define a sprite, it can’t be used again for a function. I remixed and changed the function to `softballScoreboard2` and no errors came up.

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

Edits made to lines 101 and 129.

Hope that helps!

Brad

---

<div class="post-metadata">

**Author:** ![jshimon](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jshimon](https://forum.code.org/u/jshimon)\
**Post date:** [April 25, 2019, 5:47pm UTC](https://forum.code.org/t/error-line-129-typeerror-softballscoreboard-is-not-a-function/26552/3 "2019-04-25T17:47:10Z")

</div>

Thank You for looking into this! I was looking at it for so long and completely missed that. Thanks!
