clik-engine API
    Preparing search index...

    Interface AnimationEventDef

    interface AnimationEventDef {
        animKey: string;
        callback: () => void;
        frame: number;
        once?: boolean;
    }
    Index

    Properties

    animKey: string

    Animation key

    callback: () => void

    Callback to fire

    frame: number

    Frame index to trigger on

    once?: boolean

    Only fire once (default: every loop)