Pencil Code Reference > dot
dot
can make a dot in any color.
It draws the dot under the turtle.
dot red
Dots can be drawn on other objects using drawon
.
dot
accepts an optional second argument, which is the diameter of
the dot in pixels. Remember that arguments need to be separated by
a comma.
dot skyblue, 100
Move the turtle using fd
to draw dots in
different places. Use box
to draw a box
instead of a dot. Other shapes can be drawn using
pen
.