# Game name is country side

**URL:** <https://forum.makecode.com/t/game-name-is-country-side/39459>\
**Category:** Help\
**Created:** [September 23, 2025, 5:03pm UTC](https://forum.makecode.com/t/game-name-is-country-side/39459 "2025-09-23T17:03:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faxx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/faxx/32/28828_2.png) [@Faxx](https://forum.makecode.com/u/Faxx)\
**Post date:** [September 23, 2025, 5:03pm UTC](https://forum.makecode.com/t/game-name-is-country-side/39459/1 "2025-09-23T17:03:53Z")

</div>

Hello, I am making a game about the country. I made a whole Character Selection Menu. The problem is that it spawns the wrong Character, and I did too much code to figure out where the problem is. This was my idea ''Assign a Character to a number. Then, once the game is pressed, it searches for character 1-4 until one of them is true, until it’s good enough, and it spawns it in." But it keeps spawning in the 3rd one, I think that’s just the last character that spawns in, so it’s the top layer." But I don’t know. Please Help.

Game Here: [https://arcade.makecode.com/S17715-60477-71488-52697](https://arcade.makecode.com/S17715-60477-71488-52697)

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [September 23, 2025, 8:22pm UTC](https://forum.makecode.com/t/game-name-is-country-side/39459/2 "2025-09-23T20:22:14Z")

</div>

Since you already know that the “mouseBugFix” variable changes correctly, why not use that variable to create the character as well! Also, you seem to be incorrectly setting the character2 variable instead of the character3 variable in your character switch code. Instead of fixing all that, I would just use the mouseBugFix variable.

---

<div class="post-metadata">

**Author:** ![Faxx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/faxx/32/28828_2.png) [@Faxx](https://forum.makecode.com/u/Faxx)\
**Post date:** [September 25, 2025, 7:10pm UTC](https://forum.makecode.com/t/game-name-is-country-side/39459/3 "2025-09-25T19:10:10Z")

</div>

Could you ssend me a image of what you would do?

---

<div class="post-metadata">

**Author:** ![Faxx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/faxx/32/28828_2.png) [@Faxx](https://forum.makecode.com/u/Faxx)\
**Post date:** [September 25, 2025, 7:10pm UTC](https://forum.makecode.com/t/game-name-is-country-side/39459/4 "2025-09-25T19:10:11Z")

</div>

I confused myself with my code
