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

SetColor is a custom event, you make it yourself in the BaseBP.

To get the MyBaseBP variable, right click on the pin on the right of GetActorOfClass and choose ‘promote to variable’