documentation indexreference manualfunction index

renpy.get_all_labels

Function: renpy.get_all_labels ():

Returns the set of all labels defined in the program, including labels defined for internal use in the libraries.

Example

python:
    ui.vbox(xalign=0.5, yalign=0.5)

    for i in renpy.get_all_labels():
         if i.startswith("warp_"):
             ui.textbutton(i, clicked=ui.jumps(i))

    ui.close()
    ui.interact()



documentation indexreference manualfunction index