need help to get the next mouse position when holding and dragging mouse

I got current mouse position with code :

Now i want to get the next mouse position when dragging :
Who can help me, please?

Is your code in Update? You will need to wait until Update gets called in the next frame for Input.mousePosition to have a new value.
You could add a member variable to keep track of the previous mouse position.