Skip to content

@modoki/engine / index / MutableEntity

Interface: MutableEntity ​

Minimal on-disk entity shape (matches editor SerializedEntity / runtime SceneEntityEntry — kept structural to avoid a cross-layer import).

Scene & Prefabs ​

guid? ​

optional guid?: string

Prefab INSTANCE nodes store their identity guid at the node top level (not in EntityAttributes, which comes from the expanded prefab).


id ​

id: number


name? ​

optional name?: string


overrides? ​

optional overrides?: Record<number, Record<string, Record<string, unknown>>>


prefab? ​

optional prefab?: string


traits ​

traits: Record<string, Record<string, unknown> | boolean>

Built with Modoki.