def undo(self): pygame_run.set_mouse_visibility(self.old_state)
def execute(self): self.old_state = pygame_run.get_mouse_visibility() pygame_run.set_mouse_visibility(0)