# Get Array Element

## Overview

![The Get Array Element Node.](/files/MQG4bQqjkQzhcjyXEsOx)

**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**](/incari-studio/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Get Array Element Node Attributes](/files/kPBHLuztRIS1SCKykpDE)

### 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**](/incari-studio/toolbox/array/array-value.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/toolbox/array/get-array-element.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
