documentation index ◦ reference manual ◦ function index

# renpy.in_rollback

Function: | renpy.in_rollback | ():

Returns true if rollback is currently occuring. Note that rollback may end if you do something overly different while rollback is in progress.

    if renpy.in_rollback():
        "We're in rollback."
    else:
        "We're not in rollback."

documentation index ◦ reference manual ◦ function index