How to get the mouse starting drag position inside the on drop function?

Hi,
In the on drop function, how do i get my mouse position when i started to draggin the item?

  • create a new Drag Operation blueprint with an Instance Editable 2d Vector variable that is Exposed on Spawn:

image

  • when you create this custom Drag Operation, pipe the data in through the exposed pin:

  • when you drop, you get it via a cast:

2 Likes