Gets the mouse position change at the specified index
the mouse position change that occurred at that index.
the index at which to obtain the mouse pos change.
if the index is below 0, or >= length