clik-engine API
    Preparing search index...

    Interface AnimStateConfig

    interface AnimStateConfig {
        animKey: string;
        cancelAfterFrame?: number;
        loop?: boolean;
        next?: string;
        priority?: number;
    }
    Index

    Properties

    animKey: string

    Animation key to play on entry

    cancelAfterFrame?: number

    Frame after which this state can be cancelled into another

    loop?: boolean

    Whether the animation loops

    next?: string

    If set, auto-transition to this state when animation completes

    priority?: number

    Priority level: higher priority states can't be cancelled by lower ones