def get_events(self, event):
        if event.type == pygame.locals.MOUSEBUTTONDOWN:
            if event.pos[0] > 140 and event.pos[0] < 210:
                if event.pos[1] > 390 and event.pos[1] < 460:
                    self.pressed = True
dataset/ETHPy150Open spadgenske/TYOS/src/receive.py/Receive.get_events/original