Turtle, Observer, Patch

ask-patch-at [list of commands]

Parameters:
[list of commands] List of patch commands A list of commands for the patch to run

Description:
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-breed ask-list-of-turtles ask-patches ask-patches-with ask-turtle ask-turtles ask-turtles-with