Strata - v1.4.10
    Preparing search index...

    Interface HealthBarRef

    Ref interface for imperative HealthBar control.

    interface HealthBarRef {
        flash: () => void;
        setMaxValue: (maxValue: number) => void;
        setValue: (value: number) => void;
    }
    Index

    Properties

    flash: () => void

    Trigger a visual 'flash' effect, typically used when damage is taken.

    setMaxValue: (maxValue: number) => void

    Update the maximum possible value.

    setValue: (value: number) => void

    Manually set the current fill value (0 to maxValue).