BetaBetaBetaThe label to display for the dropdown.
The selectable items for the dropdown.
OptionaldropdownOptions: ModalFormDataDropdownOptionsThe optional additional values for the dropdown creation.
BetaForces a form to show even if the player has another form or menu open. If the player has another form or menu open then it will wait until they close it.
The player to show the form to
Optionaltimeout: numberThe number of ticks before the function will give up and return the failed response, it defaults to 9999
The response of the form
BetaPlayer to show this dialog to.
Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
This function can't be called in restricted-execution mode.
BetaThe label to display for the slider.
The minimum selectable possible value.
The maximum selectable possible value.
OptionalsliderOptions: ModalFormDataSliderOptionsThe optional additional values for the slider creation.
BetaThe label to display for the textfield.
The place holder text to display.
OptionaltextFieldOptions: ModalFormDataTextFieldOptionsThe optional additional values for the textfield creation.
BetaThe label to display for the toggle.
OptionaltoggleOptions: ModalFormDataToggleOptionsThe optional additional values for the toggle creation.
Used to create a fully customizable pop-up form for a player.
Example: showBasicModalForm.ts