Widget doesn't work OnMouseButtonDown event

Player Controller

Spawning of Widget

Button settings

I am using breakpoint but program doesn’t enter event

Rule number 1 of UMG, don’t use buttons for drag & drop.

This functionality (the precise click thing) was removed / disabled some time ago as it was causing other issues. You can’t detect onMouseButtonDown because the button consumed it - that’s unless something changed in 4.19 / 4.20.

Why not use a border / image instead? Because of the automated hover states? They may seem convenient at first but you’ll want to eventually replace them with a custom solution as the project grows in complexity anyway.

Thx, it starts work)