This doesn't work properly so it might take a few tries to get a good looking race track line. If anyone can help me with my code I will appreciate that.
How to export the race track line: Mouse: Right Click on the scratch project and then click save image as. Touchpad: Hold or Use 2 fingers and click the scratch project and then click save image as.