why work:
to setup clear-all ask n-of 1 patches [set pcolor green] end but doesn't:
to setup clear-all ask patch-at 1 1 [set pcolor green] end how have patch @ 1 1 change colour please?
thank you.
you need following:
to setup clear-all ask patch 1 1 [set pcolor green] end your code using patch-at reports (ie tells asking agent) location or patch coordinates of patch @ position (in case, 1 , 1 right) asker. is, relative position. instead, wanting ask patch specific coordinates or absolute position use patch's name such patch 1 1.
Comments
Post a Comment