how to use the onclick of a widget in an actor?

I have some functions inside a blueprint, like opening doors, changing colors, etc.

I would like that when I click on the widget, the door opens, which is currently being done with the keyboard, but how do I do that?