📋

Array & Collection

Blueprint nodes for array & collection operations.

30 nodes

Weighted Random Pick

Pure

Picks a random item from an array using weighted probabilities.

WeightedRandomPick

Chunk Array

Pure

Splits an array into chunks of the specified size. Last chunk may be smaller.

ChunkArray

Unique Array

Pure

Returns an array with duplicate values removed, preserving order.

UniqueArray

Remove All Of

Pure

Flattens an array of arrays into a single flat array.

RemoveAllOf

Zip Arrays To String

Pure

Combines two arrays into a map of key-value pairs. Arrays must be the same length.

ZipArraysToString

Sort Float Array

Callable

Sorts an array of actors by a float property (via delegate). Uses introsort for guaranteed O(n log n).

SortFloatArray

Sort String Array

Callable

Sorts an array of strings alphabetically.

SortStringArray

Sliding Window

Pure

Returns all contiguous sub-arrays of the given window size.

SlidingWindow

Set Union

Pure

Returns the union of two arrays (all unique elements from both).

SetUnion

Set Intersect

Pure

Returns elements present in both arrays.

SetIntersect

Set Difference

Pure

Returns elements in ArrayA that are not in ArrayB.

SetDifference

Binary Search

Pure

Performs a binary search on a sorted array. Returns the index or -1.

BinarySearch

Partition Array

Pure

Splits an array into two arrays: values less than pivot and values greater than or equal.

PartitionArray

Take Array

Pure

Returns the first N elements of an array.

TakeArray

Skip Array

Pure

Returns the array without the first N elements.

SkipArray

Rotate Array

Callable

Rotates array elements by Offset positions. Positive rotates right, negative rotates left.

RotateArray

Interleave Arrays

Pure

Interleaves two arrays (A[0], B[0], A[1], B[1], ...). Appends remaining elements if lengths differ.

InterleaveArrays

Remove Adjacent Duplicates

Pure

Removes duplicate actors from an array, keeping the first occurrence.

RemoveAdjacentDuplicates

Random Subset

Pure

Returns a random subset of N elements from the array without replacement.

RandomSubset

Circular Index

Pure

Wraps an index to stay within array bounds (handles negative indices too).

CircularIndex

Reverse Slice

Callable

Reverses a portion of an array between two indices.

ReverseSlice

Contains All

Pure

Returns true if Array contains every element in Required.

ContainsAll

Contains Any

Pure

Returns true if Array contains at least one element from Candidates.

ContainsAny

Find All Indices

Pure

Returns all indices where Value appears in the array.

FindAllIndices

Group By Modulo

Pure

Groups values by their corresponding key string.

GroupByModulo

Clamp Array

Pure

Calculates start/end indices for processing a batch. Useful for spreading work across frames.

ClampArray

Count Occurrences

Pure

Counts how many times a value appears in an array.

CountOccurrences

Shuffle Int Array

Callable

Shuffles an integer array in place using Fisher-Yates. Use Seed=-1 for a random shuffle or any other value for a reprodu...

ShuffleIntArray

Paginate String Array

Callable

Extracts one page of items from a string array. Returns the items for the given zero-based page index and the total page...

PaginateStringArray

Flatten String Array

Callable

Splits each string in the input array by the delimiter and collects all sub-strings into a single flattened output array...

FlattenStringArray