This is my newest game on scratch! Press space to stop the bar at the bottom to determine the X and Y, then it will give you your score. (IT TAKES A FEW SECONDS) Anyway, if you want to get into the technical bit, it involves something to do with pythagorus (I think how that's how you spell it.)