# Function: newChoiceOption() (/pixi-vn/index/functions/newChoiceOption)



\> **newChoiceOption**\<`T`>(`text`, `label`, `props`, `options?`): [`ChoiceOptionInterface`](/pixi-vn/index/interfaces/ChoiceOptionInterface)

Defined in: [src/narration/classes/ChoiceMenuOption.ts:29](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/narration/classes/ChoiceMenuOption.ts#L29)

Function to create a new choice menu option.

## Type Parameters [#type-parameters]

### T [#t]

`T` *extends* [`StorageObjectType`](/pixi-vn/index/type-aliases/StorageObjectType)

## Parameters [#parameters]

### text [#text]

`string` | `string`\[]

The text displayed in the choice menu.

### label [#label]

`string` | [`Label`](/pixi-vn/index/classes/Label)\<`T`> | [`LabelAbstract`](/pixi-vn/index/classes/LabelAbstract)\<`any`, `T`, `number`>

The `label` to call when the player selects the option.

### props [#props]

`T`

The properties passed to the `label`. If the `label` does not require parameters, pass an empty object `{}`.

### options? [#options]

`ChoiceMenuOptionOptions`

An object with the `choice`'s options

## Returns [#returns]

[`ChoiceOptionInterface`](/pixi-vn/index/interfaces/ChoiceOptionInterface)

## Example [#example]

```ts
newChoiceOption("Hello", HelloLabel, {})
```
