The x coordinate.
The y coordinate.
Calculates the difference between the current x and the target position's x-coordinate.
Calculates the difference between the current x-coordinate and the target x-coordinate.
Calculates the difference between the current y and the target position's y-coordinate.
Calculates the vertical difference between the current y-coordinate and the target y-coordinate.