[{"data":1,"prerenderedAt":319},["ShallowReactive",2],{"/dict/setxy":3,"/dict/setxy-surround":308},{"id":4,"title":5,"body":6,"description":275,"extension":276,"meta":277,"navigation":295,"path":304,"seo":305,"stem":306,"__hash__":307},"content/dict/setxy.md","NetLogo Dictionary: setxy",{"type":7,"value":8,"toc":264},"minimark",[9],[10,11,16,35,66,77,110,188,249],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","setxy","region",[17,18,20],"h3",{"id":19},"setxy10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#setxy","doc-noteref","Reference to setxy","\nsetxy\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[36,37,41],"h4",{"id":38,"className":39},"setxy-x-y",[40],"section-heading",[21,42,46,58],{"className":43,"href":45},[44],"section-anchor","#setxy-x-y",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"setxy ",[55,56,57],"em",{},"x y",[59,60],"img",{"alt":61,"src":62,"width":63,"height":63,"style":64},"Turtle Command","/_content/images/turtle.png",16,{"aspectRatio":65},"56/56",[51,67,68,69,72,73,76],{},"The turtle sets its x-coordinate to ",[55,70,71],{},"x"," and its y-coordinate\nto ",[55,74,75],{},"y",".",[51,78,79,80,109],{},"Equivalent to ",[81,82,83,89,90,89,95,89,99,89,102,89,106],"code",{},[28,84,88],{"className":85},[86,87],"token","command","set"," ",[28,91,94],{"className":92},[86,93],"reporter","xcor",[28,96,71],{"className":97},[86,98],"variable",[28,100,88],{"className":101},[86,87],[28,103,105],{"className":104},[86,93],"ycor",[28,107,75],{"className":108},[86,98],", except it happens in\none time step instead of two.",[51,111,112,113,115,116,118,119,134,135,134,148,160,161,174,175,187],{},"If ",[55,114,71],{}," or ",[55,117,75],{}," is outside the world, NetLogo will throw a\nruntime error, unless wrapping is turned on in the relevant\ndimensions. For example, with wrapping turned on in both dimensions\nand the default world size where ",[81,120,121,89,125,89,129],{},[28,122,124],{"className":123},[86,93],"min-pxcor",[28,126,128],{"className":127},[86,93],"=",[28,130,133],{"className":131},[86,132],"number","-16",", ",[81,136,137,89,141,89,144],{},[28,138,140],{"className":139},[86,93],"max-pxcor",[28,142,128],{"className":143},[86,93],[28,145,147],{"className":146},[86,132],"16",[81,149,150,89,154,89,157],{},[28,151,153],{"className":152},[86,93],"min-pycor",[28,155,128],{"className":156},[86,93],[28,158,133],{"className":159},[86,132]," and ",[81,162,163,167,168,89,171],{},[28,164,166],{"className":165},[86,93],"max-pycor","\n ",[28,169,128],{"className":170},[86,93],[28,172,147],{"className":173},[86,132],", asking a turtle to ",[81,176,177,89,180,89,184],{},[28,178,14],{"className":179},[86,87],[28,181,183],{"className":182},[86,132],"17",[28,185,183],{"className":186},[86,132]," will move it to\nthe center of patch (-16, -16).",[189,190,191],"pre",{},[81,192,193,89,196,89,200,203,206,211,213,89,216,89,220,224,226,230,232,89,235,89,239,243,245],{},[28,194,14],{"className":195},[86,87],[28,197,199],{"className":198},[86,132],"0",[28,201,199],{"className":202},[86,132],[204,205],"br",{},[28,207,210],{"className":208},[86,209],"comment",";; turtle moves to the middle of the center patch",[204,212],{},[28,214,14],{"className":215},[86,87],[28,217,219],{"className":218},[86,93],"random-xcor",[28,221,223],{"className":222},[86,93],"random-ycor",[204,225],{},[28,227,229],{"className":228},[86,209],";; turtle moves to a random point",[204,231],{},[28,233,14],{"className":234},[86,87],[28,236,238],{"className":237},[86,93],"random-pxcor",[28,240,242],{"className":241},[86,93],"random-pycor",[204,244],{},[28,246,248],{"className":247},[86,209],";; turtle moves to the center of a random patch",[51,250,251,252,76],{},"See also ",[253,254,256],"primitive",{"displayText":255,"permalink":255},"move-to",[21,257,255],{"className":258,"dataDisplayText":255,"href":260,"rel":261,"target":263,"title":255},[259],"netlogo-wiki-link","/dictionary#move-to",[262],"noopener","_self",{"title":265,"searchDepth":266,"depth":267,"links":268},"",5,3,[269],{"id":19,"depth":267,"text":270,"children":271},"\nsetxy\n\n1.0\n",[272],{"id":38,"depth":273,"text":274},4,"setxy x y","Documentation for the setxy primitive.","md",{"source":278,"metadataOutputPath":279,"projectConfig":280,"language":287,"inheritFrom":296,"output":295,"version":281,"layout":297,"dictionaryDisplayName":298,"dictionaryHomeDirectory":299,"indexFileURI":300,"currentItemId":14,"currentItemLabel":14,"primRoot":301,"icon":302,"assetsRoot":303},"autogen/dict/setxy.md","content/dict/setxy.metadata.yaml",{"version":281,"projectRoot":76,"scanRoot":282,"outputRoot":283,"defaults":284,"engine":290,"partials":291,"dedupeIdenticalDiskWrites":295},"7.0.4","autogen","content",{"inheritFrom":285,"language":287,"output":288,"extension":276,"title":289,"version":281},[286],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":292,"extensions":293},[76],[294,276],"mustache",true,[286],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/setxy",{"title":5,"description":275},"dict/setxy","Kc2TkhIqOw_RzSsjve2msy7dMVGIwywZqMjWYxjNr7w",[309,314],{"title":310,"path":311,"stem":312,"description":313},"NetLogo Dictionary: setup-plots","/dict/setup-plots","dict/setup-plots","Documentation for the setup-plots primitive.",{"title":315,"path":316,"stem":317,"description":318},"NetLogo 3D Dictionary: setxyz","/dict/setxyz","dict/setxyz","Documentation for the setxyz primitive.",1777657839057]