The FormResponse class in @minecraft/server-ui.
Class in @minecraft/server-ui
Extended by ActionFormResponse, MessageFormResponse, ModalFormResponse
import { FormResponse } from '@minecraft/server-ui';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”canceled
Section titled “canceled”read-only
readonly canceled: boolean;True when the form closed without an answer.
cancelationReason
Section titled “cancelationReason”read-only optional
readonly cancelationReason?: FormCancelationReason;