How can i get number of all actors of certain color/material?

So I have a widget with a text box

I make a ‘widget manager’ blueprint, and put it in the level

I make a blueprint, and put 3 in the level ( the widget manager variable is instance editable )

( I used a line trace, you can use overlap or hit or … )

I tell all my blueprints about the manager

Now I can play

red

1 Like