Below is a list of many of the most common commands that you can use with MSW Logo. Many of these commands are explained in the animated demonstrations.
| Movement Commands: |
| Forward 100 (fd 100) 100 = 100 turtle steps |
| Back 50 (bk 50) |
| Right 90 (rt 90) 90 = 90 degrees |
| Left 45 (lt 45) |
| |
| Screen and Housekeeping Commands: |
| Clearscreen (cs) clears the screen and returns the turtle to the centre |
| Clean clears the screen but leaves the turtle where it is. |
| Home returns the turtle to the centre of the screen but leavesthe drawing as is. |
| Hideturtle (ht) hides the Turtle but still draws lines. |
| Show turtle (st) shows the Turtle if it is invisible. |
| |
| Pen Commands: |
| Penup (pu) lifts the pen off the screen |
| Pendown (pd) lowers the pen back on to the screen |
| Penerase changes the pen to an eraser |
| Penreverse causes the pen to erase existing lines otherwise draw - be very careful with this one. |
| Penpaint resets the pen back to drawing mode |
| Setpensize [n n] n is the size of the pen in pixels. |
| Setscreencolor [n n n] sets the background colour of the screen.Where the colors are written in sets of 3 numbers. |
| Setpencolor [n n n] sets the colour of the pen. |
| Setflood color [n n n] sets the color that a shape will be filled |
| Fill fills a shape with the current fill color |
| |
| Repeat Command: |
| Repeat 4[FD 50 RT 90] repeats a set of instructions |
| |
| Defining Procedures: |
| To name begins the process of defining a procedure called name |
| End finishes the process of defining a procedure |