initial

fun initial(stateName: String)(source)

Designate stateName as the state the statechart enters when started. If that state is composite, its initial substate (and recursively any composite substates' initial substates) is resolved to the leaf state actually entered.