How to filter array based on a boolean value

I am using a “get all actors of class” to pull a list of all the actors I have in the scene but I am trying to filter this to only display those that are set to Boolean true for a specific variable.

Is there a way to do this, and also how would I limit this new array to 2 entries?

Like this ( 3rd time lucky… ):

1 Like

Please mark it as answered if it’s useful to you :slight_smile:

Thanks! I spent so long trying to figure that out.

1 Like