Observer |
ask-patches [list of commands]
List of patch commands | A list of commands for the patches to run |
[list of commands]
Asking the patches to do something is a moderately expensive operation since StarLogo creates a thread for each patch. Try to group commands that you would have put into separate ask-patches
ask-patches [setpc red]