Skip to content

Mask Boolean

Node icon
Mask

Combines two masks with boolean operations: union, subtract, intersect, or difference.

Mask Boolean takes two mask inputs and combines them using set operations. Union merges both masks together. Subtract removes the second mask from the first. Intersect keeps only the overlap. Difference keeps areas where the masks don’t overlap.

This lets you build complex selections from simple building blocks.

Pins

Mask AMask
InputRequired
Mask BMask
InputRequired
MaskMask
Output

Mask

OperationChoice
Default: Union

Boolean operation combining the two mask inputs

  • UnionCombine both masks — white wherever either mask is white.
  • SubtractRemove mask B from mask A — white only where A is white and B is black.
  • IntersectKeep only the overlap — white only where both masks are white.
  • DifferenceKeep non-overlapping areas — white where the masks differ.
  • Use Subtract to punch holes in a mask. For example, remove an inner area from an outer selection.
  • Intersect is useful for restricting one mask to the area covered by another.
  • Chain multiple Mask Boolean nodes for complex multi-region selections.
  • Difference keeps areas where the two masks don’t overlap, useful for ring or outline selections.