No need for a while loop, that’d make little sense. Delegates? No. Why?
On Drag Cancelled returns Pointer Event which gets you the Effecting Button; from there it’s a matter of deprojecting into the world.
It’s a bit more involved if you want to continuously deproject while dragging. You’d need to override drag operation which spits out mouse position during drag. It also gives you the cancelled event that can be used for the original issue. Although there’s probably no need for this if all you want is to check which button cancelled the drag.
Hey Community, I have a quick question to ask. Does anyone know how to “combine” two Events or nodes together - like while my Left Mouse Button is down and On Drag Canceled when I’m dragging a widget HUD with my left mouse button, an object will spawn under the location of the cursor. Is it possible to pull something like this off? I think it’s done with delegates but I’m not really sure, or if a simpler While node can be created with C++. Here’s a few examples: