The main window of KTurtle has two main parts: the code editor (3) on the left where you type the Logo commands, and the canvas (4) on the right where the instructions are visualized. The canvas is the turtle's playground: it is on the canvas that the turtle actually moves and draws. The three other places on the main window are: the menu bar (1) from where all the actions can be reached, the toolbar (2) that allows you to quickly select the most used actions, and the statusbar (5) where you will find feedback on the state of KTurtle.
In the code editor you type the Logo commands. It has all of the features you would expect from a modern editor. Most of its features are found in the Edit and the Tools menus. The code editor can be docked on each border of the main window or it can be detached and placed anywhere on your desktop.
You have several ways to get some code in the editor. The easiest way is to use an already-made example: choose -> in the File menu and click on a file. The filename will tell you what the example is about (e.g. square.logo
will draw a square). The file you choose will be opened in the the code editor, you can then use -> to run the code if you like.
You can open Logo files by choosing ->.
The third way is to directly type your own code in the editor or to copy/paste some code from this user guide.
The cursor position is indicated in the statusbar, on the right with the Line number and Column number.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team