# Erreur 980

**URL:** https://forum.makecode.com/t/erreur-980/19680
**Category:** Arcade
**Tags:** game
**Created:** [May 4, 2023, 4:58pm UTC](https://forum.makecode.com/t/erreur-980/19680 "2023-05-04T16:58:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![marceau4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marceau4/32/8694_2.png) [@marceau4](https://forum.makecode.com/u/marceau4)
#### Post date: [May 4, 2023, 4:58pm UTC](https://forum.makecode.com/t/erreur-980/19680/1 "2023-05-04T16:58:38Z")

</div>

Good morning,  
I created a block game. Unfortunately 1 out of 2 times it gives me error 980 when I pass a level.  
Here is the link of my program:

> **[saute brique 2.6](https://arcade.makecode.com/S67750-85112-82631-38116)**
>
> Fait avec ❤️ dans Microsoft MakeCode Arcade.

Thank you very much for your help

marceau

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [May 4, 2023, 5:48pm UTC](https://forum.makecode.com/t/erreur-980/19680/2 "2023-05-04T17:48:58Z")

</div>

According to the uber-handy [Makecode Documentation](https://arcade.makecode.com/device/error-codes)

> ## Panic codes
> 
> Some panic codes are for general errors that might occur while your program runs. Other times, a device or resource you want to use isn’t present or isn’t working and you receive a panic code for that. Several panic codes are related to the use of memory and accessing data in it.
> 
> - **980** (`PANIC_CAST_FROM_UNDEFINED`): attempted cast from an `undefined` value to another type

A 980 error usually occurs when something related to using `undefined` goes wrong.

> [@What is a 980 error on a PyGamer?](https://forum.makecode.com/t/what-is-a-980-error-on-a-pygamer/13977):
>
> I tried porting a game to my pygamer and it ports and runs fine until one point where it crashes and gives a 980 error code on-screen. At that point only resetting works. Anyone knows what’s up?

This topic also covers a 980 error.  
I’m not sure how much I can help considering I don’t speak French (perhaps @YuHayate could help with that?). Try using the debugger until you run into the error again. It should give some more useful information

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [May 25, 2023, 3:59pm UTC](https://forum.makecode.com/t/erreur-980/19680/3 "2023-05-25T15:59:45Z")

</div>

i dont get the error 980 so i cant help
