Sorry i forgot to add my serial monitor results. This is what i get from the serial monitor if i enter G0X700Y500.
0
yspd is
42
y speed is
1.00
x speed is
1.00
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=499
x=699
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
x=698
y=498
etc...