The Cursor tool allows programatically changing the X and Y positions of the cursor lines.