Add Items

Adds items from a specified Array to a Set.

Choose your operating system:

Windows

macOS

Linux

Set_AddItemsNode.png

The Add Items node copies items from an Array into a Set, thereby increasing the length of the Set. When adding items to a Set, the node checks whether the added items are equal to existing items in the Set. If a new item from the Array is equal to an item that's already in the Set, the new item won't be added; conversely, unique items from the Array will be added to the Set.

Inputs

Pin Location

Name

Description

Set_AddItemsNode_1.png

(In) Exec

Input execution pin.

Set_AddItemsNode_2.png

Target Set

The Set that you want to add items to.

Set_AddItemsNode_3.png

New Items

An Array of items that you want to add to the Set.

New items need to be unique from existing items that are contained in the Set.

Outputs

Pin Location

Name

Description

Set_AddItemsNode_4.png

(Out) Exec

Output execution pin.

Example Usage

Set_AddItemsUsage.png

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss