There is not. You normally fake something like this. Let the drag cancel do its thing of not reparenting the widget. Make a copy of the widget’s visual and interpolate its slot position inside the canvas (not sure how your inventory works exactly but you do have a canvas there, so that’d work well!). Since you know the coords already, feed the interp desired target location:
This should (ideally!) be done inside the widget that is moving. So you can have multiple fly to where they’re needed in case the user drag & drops frantically in frustration. Once they reach their destination, destroy them - they were fake visuals in the first place anyway… Have a look at this:
The icons travel to a specific 2d coord on the screen. It’s not that different from what you need.
I know how to set the position instantly. But I would like to do this over time.
Not sure what you mean by time here, but!
Were you to employ a widget animation here to make it time-based, it would not work well. Think about it - if you drop something 1000px away vs 100px - do you still want the movement to last 2s in both cases? That would look quite inconsistent. You could then speed that animation up based on the necessary traverse distance, of course, but that’s like doing rigid interpolation with… extra steps.
May work OK in some fringe case scenarios if you’re after some very specific type of movement.