Pop Array Element

Overview

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: Project, Scene, Function, Prefab.

Attributes

Outputs

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

AttributeTypeDescription

Data Type

Drop-down

The Data Type of the element/s you wish to remove from the Array.

Mode

AttributeTypeDescription

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

InputTypeDescription

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

OutputTypeDescription

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.

Value

[n]

Defined in the Data Type Attribute.

The element/s removed from the Array.

See Also

Last updated