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

renpy.get_at_list

Example

This displays a different frame image for the character based on where the character is being shown on the screen.

init:
    $ e = Character("Eileen",
        what_background=ConditionSwitch(
            "renpy.get_at_list('eileen') is None", "frame_none.png",
            "left in renpy.get_at_list('eileen')", "frame_left.png",
            "right in renpy.get_at_list('eileen')", "frame_right.png",
            "True", "frame_center.png"))
Reference Manual: (offline | online) Quickstart: (offline | online)