def birdseye_view_on_mouse_click(self, event):
        """Act on mouse left button pressing.

        Act based on mouse position.
        """
        ### retrieve the mouse position
        mouse_pos = event.pos

        ### if mouse is clicked outside graph area, leave state

        if not APP_REFS.ea.birdseye_graph.rect.collidepoint(mouse_pos):

            ## set state loaded_file state
            self.set_state('loaded_file')

            ## restart the loop
            raise ContinueLoopException
Act on mouse left button pressing.

        Act based on mouse position.
        
nodezator/winman/states/birdseyeview.py