Skip to content

EventLogEntry

Defined in: Inspector.ts:429

frame: number

Defined in: Inspector.ts:430


payload: unknown

Defined in: Inspector.ts:447

The emitted payload, cloned down to plain data. Class instances are stored as a ref rather than a deep copy — an Entity as { id, name }, a Component as { component: "Health" }, a Scene as { name }, a Vec2 as { x, y }, anything else as { _type: "ClassName" } — so a payload carrying a live engine object logs what the event is about instead of the object graph reachable from it. Read a component’s fields from the entity snapshot, not from the log.


source: "scene" | "entity" | "bus"

Defined in: Inspector.ts:435

"bus" for an EventBus emit, "entity" for an entity.emit (with targetId), "scene" for a scene.emit (no targetId).


optional targetId?: string

Defined in: Inspector.ts:437


type: string

Defined in: Inspector.ts:436

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.