Is it possible to create context menu in UMG???

Context menus are pretty standard part of any game or application, but i’m having a big problem to get it them to work. In theory it sounds easy, right click on some widget, and spawn a context menu widget on a mouse position. Well that part works perfectly well.

The problem begins when you want to cancel the context menu. The way it should work is that if you click anywhere outside the context menu it should cancel the context menu. How would i do that so that it works even if i click on some other widget… for example button??? It has to disappear regardless of me clicking on an empty space or some other widget/button

2 Likes