documentation index ◦ reference manual ◦ function index
Function: | renpy.rollback | (): |
Call this to cause a rollback to occur. Only returns if rollback is not possible, otherwise control will be transferred to the rollback point.
init python: def rollback_overlay(): ui.textbutton("Back", clicked=renpy.rollback, xalign=1.0, yalign=0.0) config.overlay_functions.append(rollback_overlay)