Talk:Turtle/@comment-217.211.55.154-20121124213444/@comment-66.215.85.201-20121126152449

what you needed to do is something like this:

while turtle.detect == false do

turtle.forward

end

turtle.turnLeft

of course, that will stop the program once it turns left. if you want it to go forever do this:

while true do

while turtle.detect == false do

turtle.forward

end

turtle.turnLeft

end

to stop it, do ctrl+t