# Interface: ChoiceInterface (/jsdoc/pixi-vn/index/interfaces/ChoiceInterface)



Defined in: [src/narration/interfaces/ChoiceInterface.ts:6](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L6)

Properties [#properties]

autoSelect? [#autoselect]

\> `optional` &#x2A;*autoSelect?**: `boolean`

Defined in: [src/narration/interfaces/ChoiceInterface.ts:30](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L30)

If this is true and if is the only choice, it will be automatically selected, and call/jump to the label.

***

closeCurrentLabel? [#closecurrentlabel]

\> `optional` &#x2A;*closeCurrentLabel?**: `boolean`

Defined in: [src/narration/interfaces/ChoiceInterface.ts:34](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L34)

If true, the current label will be closed

***

label [#label]

\> **label**: `string`

Defined in: [src/narration/interfaces/ChoiceInterface.ts:14](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L14)

Label Id to be opened when the option is selected

***

oneTime? [#onetime]

\> `optional` &#x2A;*oneTime?**: `boolean`

Defined in: [src/narration/interfaces/ChoiceInterface.ts:22](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L22)

If this is true, the choice can only be made once.

***

onlyHaveNoChoice? [#onlyhavenochoice]

\> `optional` &#x2A;*onlyHaveNoChoice?**: `boolean`

Defined in: [src/narration/interfaces/ChoiceInterface.ts:26](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L26)

If this is true, the choice can see only if there are no other choices. For example, all choices are one-time choices and they are already selected.

***

props? [#props]

\> `optional` &#x2A;*props?**: [`StorageObjectType`](/jsdoc/pixi-vn/index/type-aliases/StorageObjectType)

Defined in: [src/narration/interfaces/ChoiceInterface.ts:38](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L38)

Properties to be passed to the label and olther parameters that you can use when get all the choice menu options.

***

text [#text]

\> **text**: `string` | `string`\[]

Defined in: [src/narration/interfaces/ChoiceInterface.ts:10](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L10)

Text to be displayed in the menu

***

type [#type]

\> **type**: `"close"` | [`LabelRunModeType`](/jsdoc/pixi-vn/index/type-aliases/LabelRunModeType)

Defined in: [src/narration/interfaces/ChoiceInterface.ts:18](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/interfaces/ChoiceInterface.ts#L18)

Type of the label to be opened
