32. Progress Bar reference
| Property | Purpose |
|---|---|
| type: progress | The authored GUI element type. |
| max | The amount represented by a full bar. |
| previewValue | Sample value for designer rendering. |
| value | Authored current/fallback value used by the runtime definition. |
| variable | Optional Number variable ID read during dynamic refresh. |
| text | Caption; supports {value}, {max}, {percent}, {percentage}. |
| fillDirection | left-to-right, right-to-left, top-to-bottom or bottom-to-top. |
| fillColor / fillOpacity | Solid fill color and alpha. |
| fillGradientEnabled / fillColor2 | Enable the two-color fill and choose its second color. |
| progressFillAssetId / tileFillImage | Image asset for the fill and whether it repeats. |
| progressPadding | Inset of the fill from the outer rectangle. |
| borderWidth / radius | Common outer border width and radius. |
| percentageEvents | Array of crossing-event objects. |
Inspector labels can be friendlier than the stored property names. For example, the typed Border Radius field writes radius. Use the stored names for Raw JSON and Change GUI Element Property.
Choose one source for the number. A variable-bound meter should be driven through its variable; an unbound meter can be driven through value.
