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

    Interface ButtonOptionsBeta

    Options for configuring a button component.

    interface ButtonOptions {
        disabled?: boolean | ObservableBoolean;
        tooltip?: string | ObservableString | ObservableUIRawMessage | UIRawMessage;
        visible?: boolean | ObservableBoolean;
    }
    Index

    Properties

    disabled?: boolean | ObservableBoolean

    When true or bound to a true ObservableBoolean, the button is shown but cannot be pressed.

    Text shown in a tooltip when the player hovers over the button.

    visible?: boolean | ObservableBoolean

    When false or bound to a false ObservableBoolean, the button is hidden.