ask-patch-at xcor ycor [list of commands]
This command asks the patch which is xcor units in the
x direction and ycor units in the y direction away from the
caller to run the [list of commands] . The caller
of this command will wait for the patch to finish before moving on. The
observer is considered to be located at 0 0.
Examples:
ask-patch-at 5 6 [setpc red] makes the patch 5 units to the right
and 6 units up from the caller turn red.
ask-patch-at -3 -8 [setpc blue] makes the patch 3 units to the left
and 8 units down from the caller turn blue.
Related commands:
ask-patches
|