drag and drop material with UMG button

Could you explain in more detail about this function. I am a beginner and I would be very grateful if someone throws me a tutorial on dragging and dropping material into the game from a widget