Fence

Help Contents Graphics Turtle Control Fence
WindowMode refresh

Fence


tells the turtle to enter fence mode: From now on, if the turtle is asked to move past the boundary of the graphics window, it will move as far as it can and then stop at the edge with an "out of bounds" error message. Compare wrap and Window.

Example:

Fence
fd 400		; turtle out of bounds

See also:

References:

WindowMode refresh