melonJS
    Preparing search index...

    Interface LDtkFoundObject

    an entity of the project, found without its level being loaded

    interface LDtkFoundObject {
        height: number;
        instance: LDtkEntityInstance;
        layer: string;
        level: LDtkLevelInfo;
        width: number;
        x: number;
        y: number;
    }
    Index
    height: number

    the height of its box

    the entity as LDtk saves it: its identifier, its fields, its tile

    layer: string

    the identifier of the layer it is in

    the level it is in

    width: number

    the width of its box

    x: number

    the left edge of its box in its world, in pixels: where the entity built from it is, in a world loaded whole (in a level loaded alone, less the level's own x)

    y: number

    the top edge of its box in its world