Remove

Removes an item from a Set.

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

Tags

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback