# Function: start() (/pixi-vn/index/namespaces/Game/functions/start)



\> **start**\<`T`>(`label`, `props`): `Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

Defined in: [src/index.ts:294](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/index.ts#L294)

Start the game with a label. This function will clear all the game data and start the narration from the specified label.

## Type Parameters [#type-parameters]

### T [#t]

`T` *extends* `object` = \{ }

## Parameters [#parameters]

### label [#label]

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

The label to start the game with. It can be a string or a LabelAbstract instance. If it is a string, it will be used as the id of the label to start. If it is a LabelAbstract instance, it will be used directly. If the label is not found, an error will be thrown.

### props [#props]

[`StepLabelPropsType`](/pixi-vn/index/type-aliases/StepLabelPropsType)\<`T`>

The properties to pass to the label. It will be passed to the [StepLabelType](/pixi-vn/index/type-aliases/StepLabelType) of the label when it is executed.

## Returns [#returns]

`Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

The result of the label execution. It can be a [StepLabelResultType](/pixi-vn/index/type-aliases/StepLabelResultType) or a Promise that resolves to a [StepLabelResultType](/pixi-vn/index/type-aliases/StepLabelResultType).
