OneMousebuttonDown function does not work in UMG

The OneMousebuttonDown function does not work in my widget. This is the logic written in the function:

The widget itself, in structure and hierarchy, includes a UniformGridPanel:

When you click on the mouse button while the widget is open, nothing happens. Logic doesn’t work.

The problem has been resolved. I incorrectly specified the path to the widget and it was not loading it. Please forgive me. The logic is completely working.