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



\> **newCloseChoiceOption**(`text`, `options?`): [`CloseChoiceOptionInterface`](/pixi-vn/index/interfaces/CloseChoiceOptionInterface)

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

In addition to `newChoiceOption`, you can use `newCloseChoiceOption` to create a closing option.
This closes the choice menu and continues with the `steps`, without calling any `label`.

## Parameters [#parameters]

### text [#text]

`string` | `string`\[]

The text displayed in the choice menu.

### options? [#options]

`ChoiceMenuOptionCloseOptions`

An object with the `choice`'s options

## Returns [#returns]

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

## Example [#example]

```ts
newCloseChoiceOption("Return")
```
