How do I save an object after changing material in play mode?

Alright, looks good but 2 things. 1, Whats in the “Set Color” function, and 2. Where the “My Base BP” variable come from?