melonJS
    Preparing search index...

    Interface LDtkTocInstance

    an entity listed in the project's table of content

    interface LDtkTocInstance {
        fields: Record<string, unknown>;
        heiPx: number;
        iids: LDtkEntityReference;
        widPx: number;
        worldX: number;
        worldY: number;
    }
    Index
    fields: Record<string, unknown>

    the values of the fields LDtk was told to list with it, by name

    heiPx: number

    the entity, and the layer, level and world it is in

    widPx: number
    worldX: number

    where it is in its world, in pixels

    worldY: number