Closing Widgets Using a Key Input?

Basically, I’m trying to set a key input on a widget blueprint to close the widget when “Escape” is pressed. I have looked at many threads on the forums but none of them work for me. I basically set up on OnKeyPressed Override function, and I pretty much used “Get Key” and Equal “Key” but it doesn’t work for me for some reason and I don’t know why.

Here is my blueprint for the function:

Does anybody spot any mistakes in that blueprint or does anyone know another way I can set up a Key Input event on Widget? If so, please let me know.

Thanks :slight_smile: