Little tip
If you change the position of the custom cursor to reflect the mouse offset (your cursor clicks in the middle, not the top-left) then it has better control and is a better emulation. Then when mouse moves you move along with it. Otherwise quite a good tutorial for the beginner.