When standing on the tee or beside your ball before hitting a shot, navigate to the last shot screen. You can access last shot within the game menu.
Select the play icon (top right) to start recording a shot, as you walk towards your ball, the number shown on the screen will increase. To reset the distance back to zero, press the orange reset icon. Should you wish, repeat this process every time you hit a shot. To exit this screen, press the back button.