renpy.loadable - Ren'Py

documentation index ◦ reference manual ◦ function index

# renpy.loadable

Function: | renpy.loadable | (filename):

Returns True if the given filename is loadable, meaning that it can be loaded from the disk or from inside an archive. Returns False if this is not the case.

## Example

    if not renpy.loadable("secret_ending_screen.jpg"):
        "It looks like I can't show you the secret ending..."

documentation index ◦ reference manual ◦ function index