[SOVLED] Dynamic Material won't change in game during runtime

I changed the source material to get the source material from the static mesh. I also made sure the variable is set to public. It still doesn’t work. Please note that it does work when using overlaps but that is not what I need. I need to call the function when the point is captured.