BehaviourComposer: ignore everything before this. Begin micro-behaviour: Begin description: Set the location of the display of the world. End description World locationBegin NetLogo code: substitute-text-area-for upper-left-world-x 200 substitute-text-area-for upper-left-world-y 10 substitute-text-area-for lower-right-world-x 0 substitute-text-area-for lower-right-world-y 0 set-world-location upper-left-world-x upper-left-world-y lower-right-world-x lower-right-world-y End NetLogo code VariantsYou can edit the first two text areas to change where the upper left corner of the world is. The next two text areas can be set to larger numbers to make the applet appear surrounded by white space. How this worksDue to current limitations of NetLogo this specifies only the initial location of the world display and cannot be used to change the world location during execution. Related micro-behaviours
HistoryWorld location was implemented by Ken Kahn. BehaviourComposer: ignore everything after this. |