Skip to content

InspectTarget beta ​

TypeAlias of @v12-engine/engine

ts
export type InspectTarget = {
    entity: EntityId;
} | {
    player: PlayerId;
} | {
    world: true;
};

What the inspector can look at: an entity, a player, or the world itself