Distanced Drawing HELP

I'm trying to make a drawing system that, instead of drawing a solid line, will draw a dashed or dotted line (............) with each dot being the same distance apart. I know how to make a drawing system, it's just the dashed line part that has me stuck. Can YOU help me? Thanks in advance!
Comments
switch the .1 to .5 or whatver you want. That will space them out and give the effect you want