Skip to content

ProgressBar ​

UIScripts: ProgressBarComponentFeature: UI Controls (≈35 KB)

Optional feature

ProgressBar is part of UI Controls. A build includes it only when a scene, prefab or script uses it — see Feature cropping.

From a script ​

ts
import { ProgressBarComponent } from "mmpx";

const progressBar = this.entity.TryGetComponent(ProgressBarComponent);

Full API: ProgressBarComponent.

Fields ​

FieldTypeDefaultDescription
Progress
progress
number (0 … 1)0.5
Direction
direction
"left-to-right" | "right-to-left" | "bottom-to-top" | "top-to-bottom""left-to-right"
Bar
bar
Entity—The child that shows the progress

© 2026 PlayAdGentic