# I need help w/ my rhythm game

**URL:** <https://forum.makecode.com/t/i-need-help-w-my-rhythm-game/42265>\
**Category:** Help\
**Created:** [February 20, 2026, 8:07pm UTC](https://forum.makecode.com/t/i-need-help-w-my-rhythm-game/42265 "2026-02-20T20:07:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waffle](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@Waffle](https://forum.makecode.com/u/Waffle)\
**Post date:** [February 20, 2026, 8:07pm UTC](https://forum.makecode.com/t/i-need-help-w-my-rhythm-game/42265/1 "2026-02-20T20:07:35Z")

</div>

my game “[Rhythm Combo](https://arcade.makecode.com/S26926-66737-78419-34390)” is showing errors but i’m not sure why

(no music yet)

---

<div class="post-metadata">

**Author:** ![Air](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/air/32/26413_2.png) [@Air](https://forum.makecode.com/u/Air)\
**Post date:** [February 22, 2026, 7:05pm UTC](https://forum.makecode.com/t/i-need-help-w-my-rhythm-game/42265/2 "2026-02-22T19:05:51Z")

</div>

im not seeing any errors, are you sure you posted the right version?

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [February 22, 2026, 7:29pm UTC](https://forum.makecode.com/t/i-need-help-w-my-rhythm-game/42265/3 "2026-02-22T19:29:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/5/75887a0941946667d6fa6c8588d9ffa304795d4d.png)  
This is why the error shows up.  
Apparently since L2 is never defined in this if statement path, it triggers the error as there is no L2 to even move to the position.

A simple fix is changing L2 to S2.
