Skip to content
M2O Scripting APIScripting reference
Data shapeClient APIGenerated

QuestionAnswerEvent

Defined in: client/api.d.ts:1146

The outcome of a native question or dialog prompt shown by Ui.showQuestion or Ui.showDialog.

answerId: number

Defined in: client/api.d.ts:1155

One-based index of the chosen answer, or -1 when the prompt timed out or was dismissed without a choice.


questionId: number

Defined in: client/api.d.ts:1150

The opaque ID passed when the prompt was shown.