I guess you've followed this tutorial.. https://www.scirra.com/tutorials/581/to ... ays?page=1
first rename your "varDistance" in something like "YourCurrentHeight"
......rename your"High_Score" variable in something like "YourMaxHight"
add new variable like in tutorial HighScore=0,0,0,0,0,0,0,0,0,0
..now you want to compare "YourMaxHight" with "HighScore"....
..and add new event sheet for your high score layout...