high Score

Get the highest score recored for the game.

high score
JavaScript
function info.highScore(): number;
Python
def info.high_score(): number

The highest score recorded by your game program is remembered. So, you can find out what the player’s best score was for the game.

Returns

  • a number that is the highest game score.

Example

Add 9 to the life count if the player had a high score of 100000 points.

truehigh score100000‏≥lifeBonus9falsesetlifeBonustochange life byifthenifthensetlifeBonustoon start

See also

set score, change score by, score