Skip to content
Docs
Open Promoeyes

carousel

UI item · inside ui / ui3dlayoutsset 3× in templates and rigs

A horizontal strip on a UI stage: its `items` sit left to right in slots `item_w` + `gap` apart, and a `carousel-scroll` effect slides the strip; a `card` around it masks the strip to its box.

carousel(gap=1 item_h=1 item_w=1)

Attributes

gapnumberSpace between the slots, in stage units (default 20).3×
item_hnumberHeight of one slot; each item is centred in its slot (default 260).3×
item_wnumberWidth of one slot (default 200).3×
xnumberLeft edge of the strip, in stage units (default 80).3×
ynumberTop of the strip, in stage units (default 520).3×

Where it goes

Written under