Reference Manual: (offline | online) Quickstart: (offline | online)

# renpy.with_statement

Function: renpy.with_statement( | trans, paired=None, always=False)

The programmatic equivalent of a with statement.

trans - The transition caused by the with statement.

paired - The paired transition that is passed into config.with_callback .

always - Causes this transition to always occur, even if the user has transitions turned off.

## Example

    $ renpy.with_statement(dissolve)

Reference Manual: (offline | online) Quickstart: (offline | online)