# Access other vertices' data using Geometry Nodes

I have a bit uncommon question . Let's say I have a simple plane (with 4 vertices) . I have added a XYZ Attribute separate node, which takes the "position" vector as input and splits it to float attributes : "x" "y" and "z" .

As I can see on the spreadsheet each vertex has its own values for x,y and z. The way I understand GeoNodes concerning attribute math is that it works "per vertex" kind of.

Let's say if I add a function (through attribute math) of the kind f(x,y) = sin(x-y) and apply it to the z-value , I see different results. My question is how can I access other vertex' row data ( we have for rows - 0 to 3. Can I access row 1's y-value while being in the loop of the calculations for the 1st (0-) row ).

Or in other words - If we represent the vertices as grid points V(x,y), how can I access V(x-1,y) or V(x,y+1)?

• As far as I know you're not supposed to think of this in terms or rows and columns, tables just are a visual aids for inspecting data not a "excel" to manipulate it. You are still supposed to access and modify data through the nodegraph. If a vertex is in the next line then it means it is probably the next one in terms of mesh data order so you'd probably have to access it though vertex index, though I'm not really sure how or if that data is exposed to the graph editor yet. Commented Jul 2, 2021 at 12:26
• I concur, it's not possible to do that for now Commented Jul 2, 2021 at 12:59
• Agree that not possible-- but sometimes, you can do what you want by getting the data in via other modifiers or other techniques before the geo nodes. For example, if you want the Y position of some different vert, you can bake world pos to image, organize UV appropriately, and then read a particular UV. Commented Jul 2, 2021 at 15:58