    def __repr__(self):
        """
        :returns: a string representation of the mouse event.
        """
        return f"MouseEvent ({self.x}, {self.y}) {self.buttons}"
:returns: a string representation of the mouse event.
asciimatics/event.py