Skip to main content

label

Mark any point of the SWML section with a label so that goto can jump to it.

Parameters

NameTypeDescription
labelstringan identifier string for the current label

Examples

version: 1.0.0
sections:
main:
- label: foo
- play: "say: This speech will be repeated 4 times."

- goto:
label: foo
max: 3