renforge_position_element
Repositions a live image tag in Ren'Py and returns its new logical bounds. Use it to test and copy final coordinates directly into your script.
Instructions
Reposition a shown image tag live and return its new logical bounds.
Provide at least one placement field. The tag keeps its current
attributes. Positions follow Ren'Py's rule: an integer is absolute
pixels (xpos=600 is 600px), a float is a fraction of the screen
(xpos=0.5 is the centre). Use this to converge on coordinates
interactively, then write the final values into the .rpy script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| xpos | No | ||
| ypos | No | ||
| zoom | No | ||
| layer | No | ||
| rotate | No | ||
| xalign | No | ||
| yalign | No | ||
| xanchor | No | ||
| xoffset | No | ||
| yanchor | No | ||
| yoffset | No | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||