Script API - v1.26.20.22
    Preparing search index...

    Interface MessageBoxResultBeta

    The result when a MessageBox is closed.

    interface MessageBoxResult {
        closeReason: DataDrivenScreenClosedReason;
        selection?: number;
    }
    Index

    Properties

    The reason the message box was closed.

    selection?: number

    The button that was selected, undefined if it was closed without pressing a button.