clik-engine API
    Preparing search index...

    Interface HierarchicalStateConfig<TContext>

    interface HierarchicalStateConfig<TContext = unknown> {
        children?: HierarchicalStateMachine<TContext>;
        historyMode?: HistoryMode;
        hooks?: StateHooks<TContext>;
        initialChild?: string;
        tags?: string[];
    }

    Type Parameters

    • TContext = unknown
    Index

    Properties

    Child state machine (makes this a composite state)

    historyMode?: HistoryMode

    How to re-enter children: 'none' = start from initial, 'shallow' = last child, 'deep' = full path

    initialChild?: string

    Initial child state to enter when entering this composite state

    tags?: string[]

    Tags for querying state properties (e.g., 'grounded', 'invincible')