# Type Alias: PixiVNJsonLabelStep (/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonLabelStep)



\> **PixiVNJsonLabelStep** = `object`

Defined in: [src/schema/PixiVNJsonLabelStep.ts:116](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L116)

Steps of a label.
Order of operations:

1. run all [PixiVNJsonLabelStep.operations](#operations)
2. set [PixiVNJsonLabelStep.choices](#choices), [PixiVNJsonLabelStep.dialogue](#dialogue), [PixiVNJsonLabelStep.glueEnabled](#glueenabled)
3. open [PixiVNJsonLabelStep.labelToOpen](#labeltoopen)
4. go to next step if [PixiVNJsonLabelStep.goNextStep](#gonextstep) is true
5. end the label if [PixiVNJsonLabelStep.end](#end) is "label\_end"

Properties [#properties]

choices? [#choices]

\> `optional` &#x2A;*choices?**: [`PixiVNJsonChoices`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonChoices) | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<[`PixiVNJsonChoices`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonChoices)>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:124](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L124)

Variable used to display a choice menu.

***

conditionalStep? [#conditionalstep]

\> `optional` &#x2A;*conditionalStep?**: [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<`PixiVNJsonLabelStep` | `PixiVNJsonLabelStep`\[]>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:157](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L157)

If set, this step is replaced by the result of evaluating the given conditional statement.
Allows an entire step to be chosen at runtime based on a condition or step-switch strategy.

***

dialogue? [#dialogue]

\> `optional` &#x2A;*dialogue?**: [`PixiVNJsonDialog`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonDialog)\<[`PixiVNJsonDialogText`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonDialogText)> | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<[`PixiVNJsonDialog`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonDialog)\<[`PixiVNJsonDialogText`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonDialogText)>>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:128](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L128)

Variable used to display a dialog.

***

end? [#end]

\> `optional` &#x2A;*end?**: `"game_end"` | `"label_end"` | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<`"game_end"` | `"label_end"`>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:152](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L152)

Variable used to end some elements of the narrative.

* game\_end: ends the game
* label\_end: ends the label

***

glueEnabled? [#glueenabled]

\> `optional` &#x2A;*glueEnabled?**: `boolean` | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<`boolean`>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:135](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L135)

This variable is used to add the next dialog text into the current dialog memory.
This value was added to introduce Ink Glue functionality [https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md#glue](https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md#glue)

***

goNextStep? [#gonextstep]

\> `optional` &#x2A;*goNextStep?**: `boolean` | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<`boolean`>

Defined in: [src/schema/PixiVNJsonLabelStep.ts:146](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L146)

If is true, the next step will be executed automatically.

***

labelToOpen? [#labeltoopen]

\> `optional` &#x2A;*labelToOpen?**: [`PixiVNJsonLabelToOpen`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonLabelToOpen) | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<[`PixiVNJsonLabelToOpen`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonLabelToOpen)> | ([`PixiVNJsonLabelToOpen`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonLabelToOpen) | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<[`PixiVNJsonLabelToOpen`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonLabelToOpen)>)\[]

Defined in: [src/schema/PixiVNJsonLabelStep.ts:139](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L139)

Variable used to open a label.

***

operations? [#operations]

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

Defined in: [src/schema/PixiVNJsonLabelStep.ts:120](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonLabelStep.ts#L120)

Operations to execute at the start of this step (storage writes, canvas updates, sound, etc.).
