---
title: "with arrays · RUAL Documentation"
description: "Returns an array with arrays"
canonical: https://docs.rual.nl/block-types/array/array_with_arrays
language: en
---

# with arrays

This block is part of the [`array`](https://docs.rual.nl/block-types/array) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Returns an array with arrays

- array `array` First array to include in the array.

- array `array` Second array to include in the array.

- array `array` The array with arrays in it.

Collects each wired array pin as a nested element of a new array of arrays - inputs are NESTED, not concatenated. Pins whose value is not an array are dropped. Example: [1,2] and [3] -> [[1,2],[3]].

| `of` |
| --- |
| `with` |

A typical wiring for [with arrays](https://docs.rual.nl/block-types/array/array_with_arrays): the `array` out pin feeds [length](https://docs.rual.nl/block-types/array/array_length).

![Studio canvas example for the with arrays block: typical wiring for with arrays.](https://docs.rual.nl/canvas-examples/array_with_arrays.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
