def METHOD_NAME(
    rect: ui.Rect, title: str = "", screen_num: Optional[int] = None
):
    """Allow other modules this screenshot a rectangle"""
    selected_screen = get_screen(screen_num)
    flash_rect(rect)
    img = screen.capture_rect(rect)
    path = get_screenshot_path(title)
    img.write_file(path)