List Item
Picks one point from a list (PointArray or Path) by index. Emits the picked point as a Vector3 and its x-component as a Float.
Node
Interactive preview is available in the interactive reader.
Sockets
list (in)- PointArray / Path. Required.
index (in)- Int. Which element to pick.
value (out)- Vector3 — the selected point.
x (out)- Float — the x-component of the selected point (handy when the list carries scalars).
Parameters
Index- Fallback index. Default: 0.
Mode- Out-of-range handling. wrap (modulo length), clamp (first / last), fail (report a problem and return zero). Default: wrap.
How It Works
- wrap:
list[((index % length) + length) % length]— handles negative indices symmetrically. - clamp:
list[max(0, min(length-1, index))]. - fail: out-of-range indices surface a problem and the output is
[0, 0, 0].