Back to search
PatternGold tierArrays

Array: build dynamic list, iterate, find and remove items

Updated 3mo ago2 look-ups
UE 5.3UE 5.4UE 5.5UE 5.6UE 5.7#array#list#dynamic#add#remove#find#iterate

Reference

ADD: Array Add (Target Array=MyArray, New Item=newElement). READ: Array Get (Target Array=MyArray, Index=i) → use 'Item' output. FIND: Array Contains (returns bool) or Array Find (returns index, -1 if not found). REMOVE by index: Array Remove (Target Array=MyArray, Index=i). REMOVE by value: Array Remove Item (Target Array=MyArray, Item=value). ITERATE: ForEachLoop(Array=MyArray) → 'Array Element' output is the current item. LENGTH: Array Length (returns int). Key: Array nodes operate on the array BY REFERENCE — always connect the array variable directly.