Creating a draggable button goes wrong. Possible bug?

Im trying to make a button that will be draggable.

Ive set a click method
image

Created an override of functions


Yet still the button wont drag at all
As I saw in some old tutorials it should work but it is not
Could you please tell me whats wrong?

Please, dont tell me to just use “OnPreviewMouseButtonDown” as it will block all clicks for this button and I need both dragging and clicking

Check this tutorial Unreal Engine 5 Tutorial - Inventory System Part 9: Drag and Drop (youtube.com)

He creates a dragdrop and I can do that too
If you will use his method you wont be able to just click on those inventory items

Ive seen it was created in this tutorial that is old enough
But now its not working that way as I see

Ok, for those who will struggle with this - there is an easy workaround

In your button make this


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.