# Get Array Element

## Overview

![The Get Array Element Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-d207235f26b32806ddc7823f83f68cf4a59831bc%2Fgetarrayelementupdatedimage.png?alt=media)

**Get Array Element** is used for accessing elements in an **Array**. The **Node** accepts an **Array** and the *index/indices* of the desired element/s in the **Array** and returns the desired element/s and the **Array** itself.

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

## Attributes

![The Get Array Element Node Attributes](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-abeec1b058bcad4810e550d5894b9460b4f61ce3%2Fgetarrayelementattributes.png?alt=media)

### Miscellaneous

`Inputs/Outputs` - The number of elements you want to get from the **Array**. Each element has the following **Attributes**:

| Attribute       | Type          | Description                                                                                                |
| --------------- | ------------- | ---------------------------------------------------------------------------------------------------------- |
| `Default Index` | **Int**       | The `Index` of the element you wish to return if no value is provided to the `Index` **Input** **Socket**. |
| `Data Type`     | **Drop-down** | The `Data Type` of the `Index` element you wish to return.                                                 |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Array`           | **Array** | The desired element/s will be returned from this **Array**.           |
| `Index`           | **Int**   | The `Index` of the element you wish to return.                        |

## 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. |
| `Array`            | **Array**                                     | The **Array** provided to the **Input** **Socket**.                                                                                    |
| `Value`            | *Defined in the* `Data Type` ***Attribute***. | The **Output** value accessed from the **Array**.                                                                                      |

## See Also

* [**Array Value**](https://docs.incari.com/incari-studio/2023.1/toolbox/array/array-value)
