When I use destroy actor, only the first element is destroyed and the loop ends, when I don’t use destroy actor, all elements are displayed in the print, why?
Hi Gaimo_1
Destroying the actor removes it from the array, so it messes up the order - try using a “Reverse For Each Loop” instead.
5 Likes