When using my object snap tracking my line jumps randomly on my screen once I type in the dimensions

You need to make sure when you type in the dimensions that you are still on the green dashed guideline before you hit enter