@classmethod
def cx(cls, *args):
    """
        Either the x position of cursor, or sets the x position.
        Example:
        ::

            # gets the x position of cursor
            my_x = cls.cx()

            # set the x position to 20
            cls.cx(20)

            # moves right 2 spots
            cls.cx(cls.cx() + 2)

        :param x: optional x position to move to
        :return: if x not specified, returns the x position of cursor
        """
    x, y = cls.getxy()
    if not args:
        return x
    return cls.move(args[0], y)
