How to figure out if turtle sim is at world boundary
I'm going through the tutorials and from the "Moving in a straight line" tutorial I wanted to modify it such that if the turtle reaches the world boundary, it turns and then continues on. Is there is a smart way of doing it? I looked at the tf tutorial but couldn't figure it out. Thanks