Right approach to change materials of actors by widget

I have set the most parts in my BP and widget/material, but I am stuck at the end:
See my BP, I can’t connect the Selected_object. I don’t know to what type I have set this param?