|
score |
|
Drag & Drop equivalent :
This is a built in variable that holds the score for your game, there is no need to declare it.
Example #1:
This will add 5 to the number already in the score variable. So if score was 10, score would now be 15
Example #2:
This will set the score to 5.
Revision #2 |