Interaction to widget

Hello every one here. I just tried to do everything to show my widget when I press “E” but nothing was working. So here I am asking you to help me with it and I will want to get something like underline or kind of that.

Please help!

lol what?

in your character blueprint make an onpressed event for E. Make a flip flop node. On A, create your widget and add it to viewport. On B, remove from parent