Set

Set

Windows
MacOS
Linux

Actions

Add

Adds item to set

Target is Blueprint Set Library

Add Items

Adds all elements from an Array to a Set

Target is Blueprint Set Library

Clear

Clear a set, removes all content.

Target is Blueprint Set Library

Contains Item

Returns true if the set contains the given item.

Target is Blueprint Set Library

Difference

Assigns Result to the relative difference of two sets, A and B. That is, Result will contain all elements that are in Set A but are not found in Set B. Note that the difference between two sets is not commutative. The Set whose elements you wish to preserve should be the first (top) parameter. Also called the relative complement.

Target is Blueprint Set Library

Intersection

Assigns Result to the intersection of Set A and Set B. That is, Result will contain all elements that are in both Set A and Set B. To intersect with the empty set use Clear.

Target is Blueprint Set Library

Length

Get the number of items in a set.

Target is Blueprint Set Library

Make Set

Create a set from a series of items.

Remove

Remove item from set. Output value indicates if something was actually removed. False indicates no equivalent item was found.

Target is Blueprint Set Library

Remove Items

Removes all elements in an Array from a set.

Target is Blueprint Set Library

To Array

Outputs an Array containing copies of the entries of a Set.

Target is Blueprint Set Library

Union

Assigns Result to the union of two sets, A and B. That is, Result will contain all elements that are in Set A and in addition all elements in Set B. Note that a Set is a collection of unique elements, so duplicates will be eliminated.

Target is Blueprint Set Library

Select Skin
Light
Dark

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