mwg API
    Preparing search index...

    Interface ScreenEffectStep

    one step of a sequence; hold keeps the overlay exactly as the previous step left it

    interface ScreenEffectStep {
        color?: number;
        duration: number;
        kind: "fadeIn" | "fadeOut" | "flash" | "hold";
        peak?: number;
    }
    Index
    color?: number

    omit on hold to keep whatever tint the previous step left

    duration: number
    kind: "fadeIn" | "fadeOut" | "flash" | "hold"
    peak?: number

    flash only; see flash's own doc comment