Suppose you want to perform an action on every element which equals 77.
Use the conditions:
+ Array: For Each Element
+ (System/Compare values) Array.CurrentValue equal to 77
: Any actions you want
For example, to limit all elements in the array to a maximum of 100 when the user presses spacebar:
+ On spacebar pressed
+ For Each Element
+ Array.CurrentValue greater than 100
: Array: set value at X,Y,Z:
'For Each Element' repeats the event for every element in the array. Under the 'For each' expressions you'll find Array.CurrentValue (the value of the current element being tested), Array.CurrentX, Array.CurrentY and Array.CurrentZ (the indices of the current element).
Does this help?