# Clear Array

## Overview

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

**Clear Array** accepts an input **Array** and proceeds to remove and delete all elements contained in it. After that the **Node** outputs the emptied **Array** with a size of 0.

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

## Inputs

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

## 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. |
| `Empty Array`      | **Array** | The emptied output **Array**.                                                                                                          |

## See Also

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

## External Links

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