Difference

Difference

Windows
MacOS
Linux

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

DIFFERENCE

Inputs

In
Exec
A
Set of Wildcards

Starting set

B
Set of Wildcards

Set of elements to remove from set A

Outputs

Out
Exec
Result
Set of Wildcards

Set containing all elements in A that are not found in B

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