Can't change mesh material in UMG

Hi everyone I’ve just started working on a racing game (I started yesterday) and am trying to make the player able to choose a car color to race as so I have tried changing the mesh material to a different one each time but have had no luck in achieving this any help is greatly appreciated.
also here are some screenshots of my code :slight_smile:

again any help is appreciated and thanks in advance

use Dynamic Material Instances. Regular materials can only be what you set them to at design time.