Some blocks have wires sticking out of them. These are script blocks and you script by connecting their wires to other script blocks.
Blocks execute top-to-bottom, left-to-right. But you can plug in the yellow control wires to change the execution order. This is especially useful when you want to execute a block only some of the time. E.g. here I've wired a Button to If to Win, so when the player moves onto the button, then the game is won:
There are other wire colors as well:
- Blue is a number
Green is an
X,Y,Zvector (such as a position)
- Orange is a rotation
- Red is either True or False
- Pink is an object
- Gray is a constraint
- Yellow is for execution control
That's the basics! Now, you'll probably learn a lot more by looking at some example scripts that show how to do useful game stuff. So start the app and look on the Build tab to find a game called "Tutorial". It's fully editable, so you'll be able to see and play around with each example script.