The 2D layer · type

UiAlign

Where children sit across the parent's main axis. stretch gives them the whole cross extent.

Explained in Sprites and tilemaps.

type UiAlign = 'start' | 'center' | 'end' | 'stretch'
import type { UiAlign } from '@driftengine/ui2d';