How i can calibrate Leonardo mouse.move()

My end goal is relative movement. For an example i say arduino go right 500px from your current position.