# Array Value

## Overview

![The Array Value Node.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-fadf5e9b01def45013d897a409f817723c56fcbb%2Farrayvalueupdatedimage.png?alt=media)

The **Array Value** **Node** defines an **Array** by setting its elements.

[**Scope**](https://docs.incari.com/incari-studio/2022.2/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Array Value Node Attributes](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-2e377a772d7fabcb899a0371953cc224304a4854%2Farrayvalueattributes.png?alt=media)

### Inputs

`Inputs` - The number of **Input** elements you wish to add to the **Attribute section**. Each **Input** element represents a value that is added to the **Array Value** **Node**. The values in this section are used if no values are provided to the **Input** **Node**. The format of the section is as follows:

| Attribute   | Type                                          | Description                                                                                                      |
| ----------- | --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `Data Type` | **Drop-down**                                 | The `Data Type` of the `Value` that you wish to add to the **Array Value** **Node**.                             |
| `Value`     | *Defined in the* `Data Type` ***Attribute***. | A `Value` that you wish to add to the **Array Value** **Node**, if no value is provided in the input **Socket**. |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Input`           | **Array** | An **Array** you wish to add to the **Array Value** **Node**.         |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Array** | An **Array** that holds the values that have been added to the **Array Value** **Node**.                                               |

## Usage

![The Array Value Node Usage.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-312d94db594efe67a81d3fda4621cdc7cb400539%2Farray-value-usage.PNG?alt=media)

## See Also

* [**Clear Array**](https://docs.incari.com/incari-studio/2022.2/toolbox/array/clear-array)

## External Links

* [*Arrays*](https://en.wikipedia.org/wiki/Array_data_structure) on Wikipedia.
