Set Variable

This yellow Variable block sets a special number for your project to remember. Give this number a unique name. Your new variable appears as an oval block that you can add to any number field, math operation or Set Text. This saved number can be changed later in your code by using the Increase Variable block or using Set Variable again. See Variables to learn more.

If you don't set a variable, it is automatically set to 0. 

Try using it to keep track of the score in your game.

Still need help? Contact Us Contact Us