renpy/doc/reference/functions/renpy.get placement

From Ren'Py Visual Novel Engine

Jump to: navigation, search

renpy.get_placement

Function: renpy.get_placement (d):

This gets the placement of displayable d. There's very little warranty on this information, as it might change when the displayable is rendered, and might not exist until the displayable is first rendered.

This returns an object with the following fields, each corresponding to a style property:

  • xpos
  • xanchor
  • xoffset
  • ypos
  • yanchor
  • yoffset
  • subpixel
# TODO
Personal tools