effect-motion
API Referenceeffect-motionNamespacesRunnerVariables

CurrentComp

const CurrentComp: Reference<string | null>;

Variable: CurrentComp

const CurrentComp: Reference<string | null>;

Defined in: packages/motion/src/Runner.ts:154

The mounted scene a piece of scene code runs in — the id of its Scene.play mount group, provided per evaluation; null means the root scene. Scopes the camera: each scene owns its own active camera.

On this page