Detect drag if pressed with other functions together

Hello guys,
I have a cruel doubt.

i have a widget with “on mouse button down”
with this I have “detect drag if pressed” just like in the image below

My question is:
Using the same mouse button, if it is not a drag, I want it to open another widget with information about the item to be sold, the problem is that even clicking or dragging will open the widget with the item information, there is no conditional to do one or the other and the “detect drag if pressed” doesn’t have a boolean indicating if there was a drag or not

i would like to do something like this
but I do not know how

just try to take your Return Value from the DetectDragIfPressed Function and ask if is valid.

1 Like

There are other functions you can override, maybe


on mouse double click or on mouse move might help you, otherwise create a boolean variable and set it to true, and then instead of the branch node in your example, create the info widget based on the variable in another function, hope this helps.

1 Like