My new game needs some help

I am trying to figure out how to make it so when i select Credits from mini menu on start screen it goes to credits and when you select start game it starts the game. I cant find a block that will work. The first person to give a working solution will be put into the credits. Here is a screenshot of my code.

1 Like

ok, you need to add this:

Simple! Grab and add the [On (A) button pressed] under the mini menu tab to the end of On start. Then put a if statement from the logic tab in it. Then add either a < 0 = 0> or < “” = “”> block from the logic tab and add selectionindex or selection respectively in the right part.
It should look something like this

This block???

https://arcade.makecode.com/S39132-82161-8000

This code solves it all.

PS: When the game is loaded click the “</>” in the top row. :slight_smile:

this should work