Click on to view fullscreen, click anywhere to exit

I’m sort of new to blueprints and I need help.

I am trying to create a virtual gallery with pictures. I would like to be able to click on any picture on the wall to view it fullscreen and once it’s open to click anywhere to close the image.

I managed to find out how to click on the image to go fullscreen (through actors and widgets), but I have to click on the same spot to close it (which is annyoing, because I don’t really see where to click).

How can I add a click anywhere sort of event to remove the image from the viewport?

thanks a million,

My approach would probably be to create an Image widget that is added to viewport as you’re doing here. Instead of removing it here though, I would create an invisible button object inside that is the size of the screen and remove it from viewport from within the widget itself when that button is clicked.

so simple and works like a charm. thank you!