Attached the macro setup of “reverse for loop with break”. Why would you ever need this? Well, the default for loop with break blueprint macro isn’t set-up to detect when the first index is greater than the last index, and Unreal 5.7 only includes a ReverseForEachLoop Macro to handle reversing through arrays. There’s a post with a “reverse for each loop” macro, but that doesn’t do you much good if you need to dynamically remove indexes while iterating through the array.
Pretty simple, we just reverse the <= in the “for loop with break” and instead of +1, we -1.
