Why my Boolean didn't work here?

Hello! At start your initial value for Test is false; When you run all stuff in Spawn Tile with Branch node then nothing is happening because Test is false.

This is what I want my Boolean to do. But it didn’t work.

Yet, if I change it like this... its works, so there shouldn't be any problem other than this Boolean on my blueprint.

This is how the “SpawnTile” function being executed.

Can anyone tell me why that Boolean didn’t work?

But at the end it will be set to True, because I want to set the “Local_ClassIndex” to be 0 at the first loop, and 1 on the next loop and so on

Nvm… I found the problem, It was because I’m using local variable, thanks for the help btw