This content is not available in your language yet.
Turtle Variables
By naming your turtle you can make multiple instances, giving each unique attributes.
In other words, the code above makes several turtles which are the same, but each turtle has a different name (or label).
You can then change each turtle using functions — making each of them different!
When coming up with a name, make them short and to the point as you will be repeating these.
Using Turtle Functions
Some Interesting Functions:
Examples
Window Setup / Control
Setting up a window can help you understand parameters.
For example knowing the edges of your screen means knowing how far you can draw.
Screen/window set up also allows for adding background colours and clearing the canvas.
But First: Let’s Assign Screen to a Variable
This will make your life easier in the long run: writing long names instead of your own label over and over can get tedious.
So we can do something like this:
Some useful functions:
Checklist
I have made multiple turtles.
I have named and changed my turtles to do different things.