call to more than one actor

I have created an actor blueprint with a cube and a dynamic material on it. For testing I have a setup with random color in the level blueprint.
If I drop one instance in the scene I can switch the color, it works. BUT if I drop another instance than only one cube will work correctly.
How can I call to both cubes ?

Dynamic material setup:

Level blueprint:

use foreach loop

Can you explain a bit more because for blueprints I am a beginner. Thanks

Yes, it works.
Thank you very much :wink: