Gets the direction of a given vector.
x source pos.
x dest pos.
y source pos.
y dest pos.
The direction of the given vector.
Gets the direction of a given vector.