Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code>// MOVE FORWARD FD 75 // TURN RIGHT RT 54 // TURN LEFT LT 21 // MOVE BACKWARD BK 17 </code></pre> <p>Check out some other turtle commands found <a href="http://gaza.freehosting.net/logo/index.html" rel="nofollow noreferrer">here</a>...</p> <hr> <h1>Turtle Commands</h1> <ul> <li><code>BACK ## [BK]</code> - Move turtle back</li> <li><p><code>BACKGROUND ## [BG]</code> - Set Background color (0-15)</p> <ul> <li>0 - Black</li> <li>1 - White </li> <li>2 - Red</li> <li>3 - Cyan</li> <li>4 - Purple </li> <li>5 - Green</li> <li>6 - Blue</li> <li>7 - Yellow</li> <li>8 - Orange</li> <li>9 - Brown</li> <li>10 - Light Red</li> <li>11 - Grey 1</li> <li>12 - Grey 2</li> <li>13 - Light Green</li> <li>14 - Light Blue</li> <li>15 - Grey 3</li> </ul></li> <li><p><code>CLEARSCREEN [CS]</code> - Clear Screen without moving turtle</p></li> <li><code>DRAW</code> - Clear Screen and take turtle home</li> <li><code>EACH</code> - Tell several sprites, whose numbers are in a list, to accept commands in a second list, e.g. <code>EACH [1 2] [SQUARE 10]</code></li> <li><code>FORWARD ## [FD]</code> - Move turtle forward</li> <li><code>FULLSCREEN</code> - Full graphics screen (same as pressing F5)</li> <li><code>HEADING</code> - Output turtle heading as a number (0-359)</li> <li><code>HIDETURTLE [HT]</code> - Make turtle invisible</li> <li><code>HOME</code> - Move turtle to center of screen pointing up</li> <li><code>LEFT [LT]</code> - Turn turtle left</li> <li><code>NODRAW [ND]</code> - Enter text mode with clear screen</li> <li><code>NOWRAP</code> - Prevent drawings from wrapping around screen</li> <li><code>PENCOLOR [PC]</code> - Change pen color</li> <li><code>PENDOWN [PD]</code> - Turtle leaves trail</li> <li><code>PENUP [PU]</code> - Turtle ceases to leave trail</li> <li><code>RIGHT ## [RT]</code> - Turn turtle right</li> <li><code>SETHEADING [SETH]</code> - Set turtle heading, e.g. <code>SETH 180</code></li> <li><code>SETSHAPE</code> - Set the current sprite shape (0-7)</li> <li><code>SETX</code> Move the turtle to the specified x co-ordinates e.g. <code>SETX 50</code></li> <li><code>SETXY</code> Move the turtle to the specified x, y co-ordinates Eg. <code>SETXY 50 50</code></li> <li><code>SETY</code> Move the turtle to the specified y co-ordinate, e.g. <code>SETY 50</code></li> <li><code>SHAPE</code> - Output number of current sprite's shape</li> <li><code>SHOWTURTLE [ST]</code> - Make turtle visible</li> <li><code>SPLITSCREEN</code> - Mixed graphics and text screen (same as pressing F3)</li> <li><code>STAMPCHAR</code> - Make the turtle stamp a character at the current location, e.g. <code>STAMPCHAR "A</code></li> <li><code>TELL</code> - Tell designated sprite to receive commands, e.g. <code>TELL 2</code></li> <li><code>TEXTSCREEN</code> - Use whole screen for text (same as pressing <kbd>F1</kbd>)</li> <li><code>TOWARDS</code> - Output heading for turtle to face an X,Y coordinate, e.g. <code>TOWARDS 0 0</code></li> <li><code>WRAP</code> - Make turtle drawings wrap around the screen</li> <li><code>XCOR</code> - Output current x co-ordinate of turtle</li> <li><code>YCOR</code> - Output current y co-ordinate of turtle</li> <li><code>ASPECT</code> - Set verticle screen scale factor, default is 0.76</li> </ul> <hr> <p><em>Samples taken directly from website: <a href="http://gaza.freehosting.net/logo/index.html" rel="nofollow noreferrer">http://gaza.freehosting.net/logo/index.html</a></em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload