HUD
Controls where the on-screen contract tracker (the HUD that shows a player’s pinned contracts) sits and which way it collapses.
{ "HUD": { "Anchor Min": "0.0 0.60", "Anchor Max": "0.15 0.87", "Collapse Direction": "TopLeft" }}Fields
Section titled “Fields”| Setting | Type | Default | Description |
|---|---|---|---|
Anchor Min | string | 0.0 0.60 | Bottom-left corner of the HUD panel, as "x y" screen fractions (see below). |
Anchor Max | string | 0.15 0.87 | Top-right corner of the HUD panel, as "x y" screen fractions. |
Collapse Direction | enum | TopLeft | Corner the HUD anchors to when collapsed. One of TopLeft, TopRight, BottomLeft, BottomRight. |
Anchors
Section titled “Anchors”Both anchors are a pair of screen fractions written as "x y", where 0 0 is the bottom-left of
the screen and 1 1 is the top-right (the same convention Rust UI uses). Anchor Min is the
panel’s lower-left corner and Anchor Max is its upper-right corner.
So the defaults ("0.0 0.60" to "0.15 0.87") place the HUD against the left edge, in the upper
portion of the screen. To move it to the right edge, raise the x values, for example "0.85 0.60"
to "1.0 0.87".
An anchor that is not two numbers is rejected on load (a warning is printed) and falls back to the default.
Collapse direction
Section titled “Collapse direction”Collapse Direction sets which corner the panel keeps fixed as it expands and collapses, so the HUD
grows away from the screen edge it sits against rather than off-screen. Match it to where you placed
the panel: a left-edge HUD reads best with TopLeft or BottomLeft, a right-edge HUD with
TopRight or BottomRight.