resize-world

resize-world min-pxcor max-pxcor min-pycor max-pycor
Observer Command

Changes the size of the patch grid.

As a side effect, all turtles and links die, and the existing patch grid is discarded and new patches created.

Retaining references to old patches or patch sets is inadvisable and may subsequently cause runtime errors or other unexpected behavior.

See also set-patch-size.

Take me to the full NetLogo Dictionary