Remove

Removes an item from a Set.

Choose your operating system:

Windows

macOS

Linux

Set_RemoveNode.png

The Remove node removes an item from a Set, thereby decreasing the length of the Set. When removing an item from a Set, the node checks whether the item is in the Set. If the item isn't in the Set, the item won't be removed.

Inputs

Pin Location

Name

Description

Set_RemoveNode_1.png

(In) Exec

Input execution pin.

Set_RemoveNode_2.png

Target Set

The Set that you want to remove the item from.

Set_RemoveNode_3.png

New Item

The item that you want to remove from the Set.

Before an item can be removed from a Set, it must exist.

Outputs

Pin Location

Name

Description

Set_RemoveNode_4.png

(Out) Exec

Output execution pin.

Set_RemoveNode_5.png

Boolean Return Value

If the item was removed, this node returns true. Otherwise, if an equivalent item wasn't found in the set, this node returns false.

Example Usage

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