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

    Interface MessageBoxResultBeta

    The result returned when an MessageBox is closed. Contains the reason the message box was closed and the player's button selection, if applicable.

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

    Properties

    The reason the message box was closed.

    selection?: number

    The index of the button the player selected. Not set if the message box was closed without a button selection (e.g., the player was busy or the server closed it).