score

Drag & Drop equivalent : GM075

 

This is a built in variable that holds the score for your game, there is no need to declare it.

 

Example #1:

score += 5;

 

This will add 5 to the number already in the score variable. So if score was 10, score would now be 15

 

Example #2:

score = 5;

 

This will set the score to 5.

 

Revision #2