Get vector list item

Gets a vector from a vector list using an index value.


Inputs

  • list

    • The list of vectors to get a list item from.
  • index

    • The index value that defines which list item to get from the list input.
  • errorMode

    • Sets how the node will behave when errored. This can be error this node or output default vector.
  • default vector

    • The default vector to output when the errorMode input is set to output default vector.

Outputs

  • vector

    • The vector of the gotten list item.
  • x

    • The x value of the gotten list item vector.
  • y

    • The y value of the gotten list item vector.
  • z

    • The z value of the gotten list item vector.
  • vector list

    • The list of vectors of gotten list items.
  • x list

    • The list of x values of the gotten list items vectors.
  • y list

    • The list of y values of the gotten list items vectors.
  • z list

    • The list of z values of the gotten list items vectors.

Note(s)

  • Multiple list items can be gotten by inputting a list of indices into the index input.

  • Other names for this node include: GetVectorListItem, Switch, Choose, Pick, Choice, or List item.

Example(s)