Pencil Code Reference > dot

 

dot draws a dot under the turtle

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.

Bigger Dots

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

Other Shapes

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.