# Order of events - Help

**URL:** <https://forum.makecode.com/t/order-of-events-help/13536>\
**Category:** Help\
**Created:** [May 12, 2022, 4:18pm UTC](https://forum.makecode.com/t/order-of-events-help/13536 "2022-05-12T16:18:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nef5k](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@Nef5k](https://forum.makecode.com/u/Nef5k)\
**Post date:** [May 12, 2022, 4:18pm UTC](https://forum.makecode.com/t/order-of-events-help/13536/1 "2022-05-12T16:18:13Z")

</div>

Hello,

I am making a game and I am running into and issue with the order that event blocks occur. I have a function to make a level in my start block. I have a forever block to play music, and an on game update block to spawn a starfield effect. The issue that I have is that neither the music or starfield start until after the first level. I was able to change the order in Javascript, but when I switched back to blocks the order went back. Is there an easy way to fix this?

![arcade-Space-example (1)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/101916c3e4de0fbac849aac135281542f43b8c72.png)

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [May 13, 2022, 11:28pm UTC](https://forum.makecode.com/t/order-of-events-help/13536/2 "2022-05-13T23:28:03Z")

</div>

Glad to help, if you can share your project(publish and copy/paste link here)
