# Pop Array Element

## Overview

![The Pop Array Element Node.](https://3009747178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-1330240639%2Fuploads%2Fgit-blob-1282aaf15b2b994839e541e5d4c6c52c497a7823%2Fpop-array-element.PNG?alt=media)

**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**.

## Attributes

### 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**](https://docs.incari.com/incari-studio/2021.1/toolbox/array/array-value)
* [**Push Array Element**](https://docs.incari.com/incari-studio/2021.1/toolbox/array/push-array-element)
