.. Automatically generated file - do not modify.

.. function:: Function(callable, *args, **kwargs)
    
    This Action calls `callable` with `args` and `kwargs`.
    
    `callable`
        Callable object.
    `args`
        position arguments to be passed to `callable`.
    `kwargs`
        keyword arguments to be passed to `callable`.

.. function:: Help(help=None)
    
    Displays help.
    
    `help`
         If this is a string giving a label in the program, then
         that label is called in a new context when the button is
         chosen. Otherwise, it should be a string giving a file
         that is opened in a web browser. If None, the value of
         config.help is used in the same wayt.

.. function:: HideInterface()
    
    Causes the interface to be hidden until the user clicks.

.. function:: If(expression, true=None, false=None)
    
    This returns `true` if `expression` is true, and `false`
    otherwise. Use this to select an action based on an expression.
    Note that the default, None, can be used as an action that causes
    a button to be disabled.

.. function:: InvertSelected(action)
    
    This inverts the selection state of the provided action, while
    proxying over all of the other methods.

.. function:: MouseMove(x, y, duration=0)
    
    Move the mouse pointer to `x`, `y`. If the device does not have a mouse
    pointer or _preferences.mouse_move is False, this does nothing.
    
    `duration`
        The time it will take to perform the move, in seconds. During
        this time, the mouse may be unresponsive.

.. function:: Notify(message)
    
    Displays `message` using :func:`renpy.notify`.

.. function:: OpenURL(url)
    
    Causes `url` to be opened in a web browser.

.. function:: RollForward()
    
    This action causes a rollforward to occur, if a roll forward is
    possible. Otherwise, it is insensitive.

.. function:: Rollback()
    
    This action causes a rollback to occur, when a rollback is possible.
    Otherwise, nothing happens.

.. function:: Screenshot()
    
    Takes a screenshot.

.. function:: SelectedIf(expression)
    
    This allows an expression to control if a button should be marked
    as selected. It should be used as part of a list with one or more
    actions. For example::
    
        # The button is selected if mars_flag is True
        textbutton "Marsopolis":
            action [ Jump("mars"), SelectedIf(mars_flag) ]

.. function:: SensitiveIf(expression)
    
    This allows an expression to control if a button should be marked
    as sensitive. It should be used as part of a list with one or more
    actions. For example::
    
        # The button is sensitive if mars_flag is True
        textbutton "Marsopolis":
            action [ Jump("mars"), SensitiveIf(mars_flag) ]

.. function:: Skip(fast=False, confirm=False)
    
    Causes the game to begin skipping. If the game is in a menu
    context, then this returns to the game. Otherwise, it just
    enables skipping.
    
    `fast`
          If true, skips directly to the next menu choice.
    
    `confirm`
          If true, asks for confirmation before beginning skipping.

.. function:: With(transition)
    
    Causes `transition` to occur.

