The first thing you will need to learn about scratch is the "When Green Flag is Clicked. Here is what it looks like:
This trick is one you will need to make many fun games, such as maze games.
To learn more about Scratch and other programming languages, click on the link above.