# Help with pixel art end math issue's

**URL:** <https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809>\
**Category:** Arcade\
**Tags:** make, art, graphics-and-math, extension, game\
**Created:** [March 27, 2023, 11:15pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809 "2023-03-27T23:15:28Z")\
**Posts on this page:** 5\
**Page:** 8

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [August 5, 2024, 5:04pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809/149 "2024-08-05T17:04:04Z")

</div>

@YuHayate you’re passing 0 for start and end volume

---

<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:** [August 9, 2024, 10:58pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809/150 "2024-08-09T22:58:54Z")

</div>

oh darn I’m dumb sometimes

---

<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:** [September 14, 2024, 3:48pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809/151 "2024-09-14T15:48:31Z")

</div>

hey @richard !! how do i make this work! im not sure about the sintax (the function works, just not the translating into Chinise (Simplified) and Spanish (Spain) ones)

```auto
    //% block="throw error $error" // English
    //% block.loc.zh="抛出错误 $error" // Simplified Chinese
    //% block.loc.zh-tw="拋出錯誤 $error" // Traditional Chinese
    //% block.loc.de="Fehler werfen $error" // German
    //% block.loc.fr="lancer une erreur $error" // French
    //% block.loc.ja="エラーを投げる $error" // Japanese
    //% block.loc.es="lanzar error $error" // Spanish (Spain)
    //% block.loc.es-mx="lanzar error $error" // Spanish (Mexico)
    //% block.loc.ru="выдать ошибку $error" // Russian
    //% error.shadow="text"
    export function throwError(error: any) {
        if (error !== "") {
            throw JSON.stringify(error);
        }
    }

```

---

<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:** [September 21, 2024, 7:42pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809/152 "2024-09-21T19:42:38Z")

</div>

yeah thats me deciding to not look anything up before asking for help…

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [September 22, 2024, 5:14pm UTC](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809/153 "2024-09-22T17:14:37Z")

</div>

A post was merged into an existing topic: [Anniversaries, Cake Days, and other Celebrations](https://forum.makecode.com/t/anniversaries-cake-days-and-other-celebrations/24986/266)

[Previous page](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809.md?page=7)
