# Weird thing with my projectiles

**URL:** <https://forum.makecode.com/t/weird-thing-with-my-projectiles/10537>\
**Category:** Help\
**Created:** [October 22, 2021, 9:15pm UTC](https://forum.makecode.com/t/weird-thing-with-my-projectiles/10537 "2021-10-22T21:15:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [October 22, 2021, 9:15pm UTC](https://forum.makecode.com/t/weird-thing-with-my-projectiles/10537/1 "2021-10-22T21:15:29Z")

</div>

I was making a projectile for a power up that could be thrown in multiple different directions, but the up button already has a function that gets in the way. It is to save the game. Should I remap what the button is to save? Or is there another way? Because I tried to make a variable for when a projectile is thrown, and now my game crashes when a projectile is thrown. (and the debug menu isn’t higlighting the mistake)  
Here’s the game (starts you with the power up because I was testing it)

> **[TieDye Beat Em Up Redo](https://arcade.makecode.com/50058-90450-27362-82995)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

As soon as you press the B button with the power up, the game crashes

---

<div class="post-metadata">

**Author:** ![Learned](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Learned](https://forum.makecode.com/u/Learned)\
**Post date:** [October 23, 2021, 4:16pm UTC](https://forum.makecode.com/t/weird-thing-with-my-projectiles/10537/2 "2021-10-23T16:16:44Z")

</div>

It seems like the problem is that the animation for projectile3 is playing before it is created. Just move all the animate projectile3 blocks into the after 210 do blocks

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [October 25, 2021, 6:23pm UTC](https://forum.makecode.com/t/weird-thing-with-my-projectiles/10537/3 "2021-10-25T18:23:57Z")

</div>

oh ok
