mwg API
    Preparing search index...

    Interface SpriteAttachmentOptions

    interface SpriteAttachmentOptions {
        duration?: number;
        offsetX?: number;
        offsetY?: number;
    }
    Index
    duration?: number

    seconds this attachment lives before done; omit for one that lives as long as its owner does

    offsetX?: number

    where the attachment sits relative to its owner, in pixels

    offsetY?: number