---
# System prepended metadata

title: Sample Node Group IDs

---

# Sample Node Group IDs


List of affected nodes (ordered by priority):
* Sample Nearest Surface
* Geometry Proximity
* Sample Nearest
* Merge by Distance
* Sample UV Surface


![image](https://hackmd.io/_uploads/SJKQI6yo6.png)


Generally need two new inputs:
* Group ID: Splits the geometry into separate groups. Is evaluated on the input geometry.
* Sample Group ID: Which group to sample in. Comes from the context.

(* Only exception is the Merge by Distance node, which only needs one Group ID input)