documentation indexreference manualfunction index

renpy.with_statement

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

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.

clear - If True, the transient layer will be cleared at the end of the transition.

Example

$ renpy.with_statement(dissolve)



documentation indexreference manualfunction index