Hi @Ashish_Rana,
Check this post, it contains an example on how to drag an element with the mouse in 2D space: