arrow keys as soon as you hit the green flag, it will start recording your x and y positions. it only starts the replay when you hit space, and a clone will go EXACTLY where you have been. I recommend you to come to a full stop before hitting space. KEEP IN MIND THAT WHEN THE REPLAY IS OVER IT WILL START RECORDING YOUR POSITIONS AGAIN, PRESS SPACE TO WATCH IT. ALSO DON"T HOLD SPACE, you will never be able to replay if you do.
WORK IN PROGRESS https://forkphorus.github.io/#478634464 I put in a race track so you can race yourself. if you steal this project and don't give credit I will report you. beautiful car by TechBoomerang