Change material foliage

Hey guys!

Ive got foliage in my scene, but i need to change its material or anyway color in run time, is this possible?

There is no order or spesific color, just change for example all the trees into 1 linear pure color, for example blue.

I have tried casting to the instanced foliage actor, but nothing seems to be able to change the material of all the foliage.

The picture above is me changing the material of all the static meshes, but i need to change the material of all the foliage as well!