If you'd like to know more about the StarLogo code used to create the buttons you've been using, check out this description of the commands.
For hints and additional information, check out the turtle graphics page