How does TArray loop correctly remove elements in blueprints?

1 Like

Using a reverse loop works :slight_smile:

2 Likes

You could also simply wait until the loop has completed and clear the array

2 Likes

Is the method you are talking about the example in the diagram below?

78A6BE04-8990-4f76-A238-693A89F18B8F

1 Like

Yes, exactly :slight_smile:

All you have to do, is copy the standard ForEach macro, and change the counter direction.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.