type · ui.layout

anchored

Scale-aware layout with bounds and a semantic screen anchor.

top-left | top-right | bottom-left | bottom-right | center
Stable ID
ui.layout.anchored
Owner
app.ScriptUiLayout
Authority
presentation
Timing
composition
Availability
Phase 14G
Side effects
none
Determinism
Resolved from the current viewport without persisting physical pixels.
Introduced
1.0.0

Usage

Use one registered anchor value in a panel contract; offsets remain inset distances from that anchor.

Parameters

Returns

A stable type contract consumed by the interface composition host.

Cost

Constant-size contract lookup or bounded retained-record access.

Fields

This symbol has no fields.

Errors

Examples

local panel = {anchor = "top-right", x = 24, y = 72}

API history

Related symbols

Project references