Array Element

Click to copy

Returns an element of an array at a given index (starting at 0).


Example: Array Element(array: [1, 2, 3], index: 1) = 2.

Flow Connections

  • [Input] In - starts the block's execution.
  • [Output] Out - activates when the block has finished its execution.

Data Connections

  • [Input] Array (array, any type) - array to be evaluated.
  • [Input] Index (integer) - position of the element to be returned in the "Array" data input (starting at 0).
  • [Output] Element (same type as "Array") - result of the operation.