renpy.get all labels - Ren'Py Visual Novel Engine

documentation index ◦ reference manual ◦ function 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 index ◦ reference manual ◦ function index