Draw Line node in a UMG Widget

I want to draw a line between two points on the screen in a UMG Widget, and it seems I can do that with a Draw Line node, but it has a context input which from what I’ve found is from a OnPaint event, but I cant seem to find how to get that.

You may override the OnPaint function of your Widget Blueprint like so:

Not OP, but this worked perfectly for me. Only thing though is that modifying the thickness variable appears to have no effect. Is this happening for others?

Yes thickness doesnt seem to have any effect either for me, 4.8.1

Cool, I did not know this could be done that easily.