The ActionFormResponse class in @minecraft/server-ui.
Class in @minecraft/server-ui
Extends FormResponse
import { ActionFormResponse } from '@minecraft/server-ui';Properties
Section titled “Properties”selection
Section titled “selection”read-only optional
readonly selection?: number;The button pressed, counting buttons only.