imgui_set_anchor
Position a window within the viewport by assigning a named anchor like top_left, center, or bottom_right, with optional X/Y offsets for precise placement.
Instructions
Set a window's anchor position relative to the viewport (e.g. top_left, center, bottom_right)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | Yes | Anchor position relative to viewport | |
| window | Yes | Window identifier | |
| offset_x | No | X offset from anchor point (default 0) | |
| offset_y | No | Y offset from anchor point (default 0) |