Skip to content

ScenePath

const ScenePath: Trait<{ path: string; }>

Defined in: packages/engine/src/gameplay/replication/traits.ts:23

The place an Entity holds in its scene, as useScenePath reads it. On a room’s world the dump keys the entity by it, so the same scene on a client finds it; on a client’s, it marks a streamed entity the scene draws, which Replicas leaves alone.