Get all actor of class (multiple index)

Hello to all boys.
unfortunately I have experienced this problem and if you’d be happy to help me.
I created a blueprint actor and I placed three of these in my map.
As per picture, I need to make the cast for each of them as they do not know a way to assign more index in “Out Actors”.
Is there any way to fix it or I do this job for each copy that I put the map?
Thank you in advance

Hi!

You must use ForEachLoop node. In this case automatically will be handled all elements of the selected class.

About warning in Cast To.
Since you already know the actor you want to reference(get all actors of class) and you are then getting each one of them(for each loop) you dont need to cast. That’s what those warnings are telling you as well.

here is a solution

Thank you so much!!