Cant get actors from array

I am trying to make a puzzle game with 9 blocks in 3x3. That is working, ,but then I want to select one at random from the array, the problem is that I need them to be ordered as they are spawned, so I did

1-resize on an array

2-for loop

3-Spawn actor and then set array element as the grid is being created

4-After, I try to get a random block of that array that was set with the spawned actors, but I get none.

Could someone help me?

Did you be sure to resize Hurray Blocks? Also, I would suggest against using BlueprintUE.com, as it is very difficult to read graphs.

Yes I did, I am getting a very strange error where it the array only selects the right element I want when I put a specific number, but when it’s random it gets the wrong array element for some unknown reason.

EDIT: I managed to get it with Set Array Element, but when I get a random number from the array it highlights the wrong number, which is very strange…