Skip to content

Scrollbar ​

UIScripts: ScrollbarComponentFeature: UI Controls (≈35 KB)

Optional feature

Scrollbar 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 { ScrollbarComponent } from "mmpx";

const scrollbar = this.entity.TryGetComponent(ScrollbarComponent);

Full API: ScrollbarComponent.

Fields ​

FieldTypeDefaultDescription
Handle
handle
Entity—Sized to the visible share and moved to the scroll position
Auto Hide
autoHide
booleanfalseVisible only while scrolling (needs UIOpacity)
Hide Delay
hideDelay
number (0 … ∞) (s)0.8

© 2026 PlayAdGentic