def get_distance_squared(x1: float, y1: float, x2: float, y2: float) -> float:
    """
    it returns the distance squared between two points
    :param x1: the x position of the first object
    :param y1: the y position of the first object
    :param x2: the x position of the second object
    :param y2: the y position of the second object
    :type x1: float
    :type y1: float
    :type x2: float
    :type y2: float
    :return: float
    """
    return (x1 - x2) ** 2 + (y1 - y2) ** 2