---
title: "remove from bottom of array · RUAL Documentation"
description: "removes the last element from an array and returns that removed element"
canonical: https://docs.rual.nl/block-types/array/array_pop
language: en
---

# remove from bottom of array

This block is part of the [`array`](https://docs.rual.nl/block-types/array) group and was last modified in core [`v13.0.7`](https://docs.rual.nl/core-versions/130007).

### Type Selection Required

This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.

### Field Selection Required

This block requires field selection (out). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.

removes the last element from an array and returns that removed element

- array required `array` Input pin for the array from which the item will be removed.

- updated array `v13.0.7` `array` Output pin for the updated array after removing the item from the bottom.

Removes the LAST element of a copy of the array; the input is not mutated. array_updated (and the deprecated array pin) carry the remaining elements; the type-selected out pin and the deprecated item pin carry the removed element. On an empty or non-array input the removed value is null and the updated array is empty. When the selected type is array, the removed element is emitted on the array-named pin INSTEAD of the legacy remainder output.

| `pop` |
| --- |

A typical wiring for [remove from bottom of array](https://docs.rual.nl/block-types/array/array_pop): the `array` out pin feeds [length](https://docs.rual.nl/block-types/array/array_length).

![Studio canvas example for the remove from bottom of array block: typical wiring for remove from bottom of array.](https://docs.rual.nl/canvas-examples/array_pop.png)

### Version history

Introduced in [`v13.0.7`](https://docs.rual.nl/core-versions/130007).
