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

# renpy.call_in_new_context

Function: renpy.call_in_new_context( | label)

This code creates a new context, and starts executing code from that label in the new context. Rollback is disabled in the new context. (Actually, it will just bring you back to the real context.)

Use this to begin a second interaction with the user while inside an interaction.

## Example

    init:
        def invoke_game_menu():
            renpy.play(config.enter_sound)
            renpy.call_in_new_context('_game_menu')

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