Slider for changing the width of line affecting Dot Size

Hi there,
When we use this code, to change the width of the lines we are drawing on our canvas, and then we try to just draw dots, the dots change to donuts instead. We have code for the dots (circle) and for the line width.
(attached)
line width changing dots output.pdf (28.9 KB)
It seems like similar code but why does it work differently

Show your code/blocks for drawing a dot and a line.

Here it is! It is the same in both programs I put the other code for so I didn't think that part mattered...
line width changing dots output (1).pdf (73.7 KB)

what's the output of your codes? any screenshot?
And I see two global variable: dotsize, Dotsize. Is this correct?

These pdfs are inadequate to describe what is going on.

If you are comparing two Projects, export their .aia files and upload them here.

How do we know if the two sliders have the same ranges or not?