> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2024.1/toolbox/array/pop-array-element.md).

# Pop Array Element

## Overview

![The Pop Array Element Node.](/files/X3UpGtQ9c3mJrl0k8beN)

**Pop Array Element** removes element/s from an **Array** supplied to the **Node** and returns the resulting **Array** and the removed element/s. The element/s can be removed from either the front or back of the **Array**.

[**Scope**](/incari-studio/2024.1/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Pop Array Element Node Attributes](/files/tBGhRVlGH5Sb06DyOIN0)

### Outputs

`Outputs` - The number of elements you wish to remove from the **Input** **Array**. Each element has the following **Attributes**:

| Attribute   | Type          | Description                                                             |
| ----------- | ------------- | ----------------------------------------------------------------------- |
| `Data Type` | **Drop-down** | The `Data Type` of the element/s you wish to remove from the **Array**. |

### Mode

| Attribute | Type     | Description                                                                                                                                                         |
| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Pop end` | **Bool** | If the toggle is switched on, the desired element/s will be removed from the back of the **Array**, otherwise they will be removed from the front of the **Array**. |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Array`           | **Array** | The **Array** whose element/s you wish to remove.                     |

## 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 resulting Array after the desired element/s are removed.                                                           |
| <p><code>Value</code></p><p><code>\[n]</code></p> | *Defined in the* `Data Type` *Attribute*. | The element/s removed from the Array.                                                                                  |

## See Also

* [**Array Value**](/incari-studio/2024.1/toolbox/array/array-value.md)
* [**Push Array Element**](/incari-studio/2024.1/toolbox/array/push-array-element.md)
