# How do I not use stuff before created

**URL:** <https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622>\
**Category:** Help\
**Created:** [March 10, 2026, 8:33pm UTC](https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622 "2026-03-10T20:33:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ICantCode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/icantcode/32/29926_2.png) [@ICantCode](https://forum.makecode.com/u/ICantCode)\
**Post date:** [March 10, 2026, 8:33pm UTC](https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622/1 "2026-03-10T20:33:17Z")

</div>

I have so many problems in my code because I apparently am not making them exist before using them. I tried to fix this by making the code wait until I press a button that would spawn in the sprite but it still didn’t work and I don’t know how to fix it.

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [March 10, 2026, 8:56pm UTC](https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622/2 "2026-03-10T20:56:57Z")

</div>

Can I see an example of your code? Or a screenshot would do as well. After that I can help take a better look.

---

<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:** [March 11, 2026, 2:08am UTC](https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622/3 "2026-03-11T02:08:47Z")

</div>

Hi, @ICantCode, welcome to the community, we need your project link to see what’s wrong. You can follow these simple steps to share your project if you didn’t know already.  
 ![Screenshot 2026-02-05 11.36.31](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/a/3a62a844f738521201297bb3960f9acac8c9cbdd.png)

 ![Screenshot 2026-02-05 11.37.44](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/8/884dc4207248f3b3ce23706f4b7285a2e8319698.png)  
 ![Screenshot 2026-02-05 11.40.05](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/8/c8671b9b998c7455cbef7220002c995b1199cffb.png)

---

<div class="post-metadata">

**Author:** ![ICantCode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/icantcode/32/29926_2.png) [@ICantCode](https://forum.makecode.com/u/ICantCode)\
**Post date:** [March 11, 2026, 8:29pm UTC](https://forum.makecode.com/t/how-do-i-not-use-stuff-before-created/42622/4 "2026-03-11T20:29:23Z")

</div>

here ya go [https://arcade.makecode.com/S70282-87208-15109-40643](https://arcade.makecode.com/S70282-87208-15109-40643)
