documentation index ◦ reference manual ◦ function index

# renpy.full_restart

Function: | renpy.full_restart | ():

This causes a full restart of Ren'Py. This resets the state of Ren'Py to what it was when the init blocks finished running.

## Example

    'The author would like to thank everyone who makes original
     English-language bishoujo games, and the people on the Lemmasoft forums
     who encouraged him.'

    "We can't wait to see what you do with this. Good luck!"

    $ minutes, seconds = divmod(int(renpy.get_game_runtime()), 60)
    "It took you %(minutes)d minutes and %(seconds)d seconds to
     finish this demo."

    $ renpy.full_restart()

documentation index ◦ reference manual ◦ function index