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

renpy.seen_label

Example

    if renpy.seen_label("one_time_only"):
        jump every_time

label one_time_only:
    "This code only runs the first time through the game."

label every_time:
    "While this runs every time through the game."
Reference Manual: (offline | online) Quickstart: (offline | online)