Blueprint - Set Bool Array using For Each Loop

Is there any way to set a bool array using a for loop with blueprint? I’d like to use the array index to set the corresponding bool in the array.

If both arrays are of the same length, you can use the Array Index to add/remove/change the same Index in the Boolean Array.

See this page for the Array nodes:

Set Array Elem was the node I was looking for. Thanks.