def get_point(win, b_left, b_right, b_down, b_up):
    """Get a click and return it as a point object.

    If click is in the button area, instead of the point object return None.

    Return values:
    click_p - click point object"""
    click_p = win.getMouse()

    if b_left < click_p.getX() < b_right and b_down < click_p.getY() < b_up:
        return None
    return click_p