[{"data":1,"prerenderedAt":249},["ShallowReactive",2],{"/dict/patch-lr-and-ahead":3,"/dict/patch-lr-and-ahead-surround":238},{"id":4,"title":5,"body":6,"description":204,"extension":205,"meta":206,"navigation":224,"path":234,"seo":235,"stem":236,"__hash__":237},"content/dict/patch-lr-and-ahead.md","NetLogo Dictionary: patch-lr-and-ahead",{"type":7,"value":8,"toc":193},"minimark",[9],[10,11,16,42,87,90,93,160],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","patch-lr-and-ahead","region",[17,18,20,35],"h3",{"id":19},"patch-left-and-ahead20patch-right-and-ahead20",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#patch-lr-and-ahead","doc-noteref","Reference to patch-left-and-ahead","\npatch-left-and-ahead\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n2.0\n",[21,36,38,39],{"href":23,"role":24,"ariaLabel":37},"Reference to patch-right-and-ahead","\npatch-right-and-ahead\n",[28,40,34],{"className":41,"role":32,"ariaLabel":33},[31],[43,44,48],"h4",{"id":45,"className":46},"patch-left-and-ahead-angle-distancepatch-right-and-ahead-angle-distance",[47],"section-heading",[21,49,53,69,79],{"className":50,"href":52},[51],"section-anchor","#patch-left-and-ahead-angle-distancepatch-right-and-ahead-angle-distance",[28,54,57],{"className":55},[56],"prim_example",[58,59,60,61,65,66],"p",{},"patch-left-and-ahead ",[62,63,64],"em",{},"angle"," ",[62,67,68],{},"distance",[28,70,72],{"className":71},[56],[58,73,74,75,65,77],{},"patch-right-and-ahead ",[62,76,64],{},[62,78,68],{},[80,81],"img",{"alt":82,"src":83,"width":84,"height":84,"style":85},"Turtle Command","/_content/images/turtle.png",16,{"aspectRatio":86},"56/56",[58,88,89],{},"Reports the single patch that is the given distance from this\nturtle, in the direction turned left or right the given angle (in\ndegrees) from the turtle’s current heading. Reports nobody if\nthe patch does not exist because it is outside the world.",[58,91,92],{},"(If you want to find a patch in a given absolute heading, rather\nthan one relative to the current turtle’s heading, use\npatch-at-heading-and-distance instead.)",[94,95,96],"pre",{},[97,98,99,65,105,65,110,65,115,119,120,65,124,65,128,133,134,137,142,144,148,150,154,156],"code",{},[28,100,104],{"className":101},[102,103],"token","command","ask",[28,106,109],{"className":107},[102,108],"reporter","patch-right-and-ahead",[28,111,114],{"className":112},[102,113],"number","30",[28,116,118],{"className":117},[102,113],"1"," [ ",[28,121,123],{"className":122},[102,103],"set",[28,125,127],{"className":126},[102,108],"pcolor",[28,129,132],{"className":130},[102,131],"constant","green"," ]",[135,136],"br",{},[28,138,141],{"className":139},[102,140],"comment",";; this turtle \"looks\" 30 degrees right of its",[135,143],{},[28,145,147],{"className":146},[102,140],";;   current heading at the patch 1 unit away, and turns",[135,149],{},[28,151,153],{"className":152},[102,140],";;   that patch green; note that this might be the same",[135,155],{},[28,157,159],{"className":158},[102,140],";;   patch the turtle is standing on",[58,161,162,163,175,176,175,184,192],{},"See also ",[164,165,167],"primitive",{"displayText":166,"permalink":166},"patch",[21,168,166],{"className":169,"dataDisplayText":166,"href":171,"rel":172,"target":174,"title":166},[170],"netlogo-wiki-link","/dictionary#patch",[173],"noopener","_self",", ",[164,177,179],{"displayText":178,"permalink":178},"patch-at",[21,180,178],{"className":181,"dataDisplayText":178,"href":182,"rel":183,"target":174,"title":178},[170],"/dictionary#patch-at",[173],[164,185,187],{"displayText":186,"permalink":186},"patch-at-heading-and-distance",[21,188,186],{"className":189,"dataDisplayText":186,"href":190,"rel":191,"target":174,"title":186},[170],"/dictionary#patch-at-heading-and-distance",[173],".",{"title":194,"searchDepth":195,"depth":196,"links":197},"",5,3,[198],{"id":19,"depth":196,"text":199,"children":200},"\npatch-left-and-ahead\n\n2.0\n\npatch-right-and-ahead\n\n2.0\n",[201],{"id":45,"depth":202,"text":203},4,"patch-left-and-ahead angle distancepatch-right-and-ahead angle distance","Documentation for the patch-lr-and-ahead primitive.","md",{"source":207,"metadataOutputPath":208,"projectConfig":209,"language":216,"inheritFrom":225,"output":224,"version":210,"layout":226,"dictionaryDisplayName":227,"dictionaryHomeDirectory":228,"indexFileURI":229,"currentItemId":14,"currentItemLabel":230,"primRoot":231,"icon":232,"assetsRoot":233},"autogen/dict/patch-lr-and-ahead.md","content/dict/patch-lr-and-ahead.metadata.yaml",{"version":210,"projectRoot":192,"scanRoot":211,"outputRoot":212,"defaults":213,"engine":219,"partials":220,"dedupeIdenticalDiskWrites":224},"7.0.4","autogen","content",{"inheritFrom":214,"language":216,"output":217,"extension":205,"title":218,"version":210},[215],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":221,"extensions":222},[192],[223,205],"mustache",true,[215],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","patch-left-and-ahead, patch-right-and-ahead","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/patch-lr-and-ahead",{"title":5,"description":204},"dict/patch-lr-and-ahead","AfVlla1wq5W-r6py7jyG1-eWpdajB6iNAutHqYXstBM",[239,244],{"title":240,"path":241,"stem":242,"description":243},"NetLogo Dictionary: patch-here","/dict/patch-here","dict/patch-here","Documentation for the patch-here primitive.",{"title":245,"path":246,"stem":247,"description":248},"NetLogo Dictionary: patch-set","/dict/patch-set","dict/patch-set","Documentation for the patch-set primitive.",1777657828724]