code: def direction_vector(self, other: "Point2") -> "Point2":
          
          return self.__class__((_sign(other.x - self.x), _sign(other.y - self.y)))
docs: Converts a vector to a direction that can face vertically, horizontally or diagonal or be zero, e.g. (0, 0), (1, -1), (1, 0)