Detecting a Click in the Corner of a Widget

UMG

I'd like a resizable widget that can server as a parent class for other widgets. This forum post describes my approach with pretty pictures of the blueprints.

My approach is when the mouse goes down in the widget, get the widget local coordinates of the mouse click, and see how near that is to the lower right corner, given by the function GetLocalSize.

It works the first time, but not after the widget is resized.

I don't want to just stick a button or something in the lower right corner, since I'd like this resizable widget to be the base class of other widgets.

Posted Nov 2, 2023, 2:41 PM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.