MotionScript

@motion-script/core


@motion-script/core / SceneSelector

Type Alias: SceneSelector

SceneSelector = string | number | ReadonlyArray<string | number>

Defined in: project/config.ts:78

How a global layer picks the scenes it appears on: a scene name, a scene index, or a list mixing both.

Names are matched loosely — case and -/_/./space separators are ignored — so the scene the ?scene transform names CrossFade (from cross-fade.tsx) is selected by 'cross-fade', 'CrossFade' or 'cross fade' alike.

Prefer names — an index-based selector shifts meaning when scenes are reordered, or when only a subset is rendered (ms export --scenes …).