How to changer color from blueprint?

Let’s say i create a new project as Third Person template. I add a Cube in my map/level. Each time my player touch this cube, i want that cube changer color.

How i can program this in Blueprint ?

Thanks for your attention.

Greetings.

Phil

Hi Phil,

I think you can do it via Dynamic Material and blueprint together. There is a video about it already and it seems to be doing what you want to do. Alternatively, you can just change the material of the object when you overlap with it in blueprint.

https://www.youtube.com/watch?v=srUSDU1u0og&list=PLZlv_N0_O1gbQjgY0nDwZNYe_N8IcYWS-&index=9

Thank you Wesyc so much for your answer. I very appreciate it.
I found 2 min after I post my question and it is indeed the closest one of what i am currently looking for. I will falow it tomorrow morning. Have yourself a great day and thank you again.