API ReferenceecsdefineState()initial()Sur cette pageinitial() ecs.defineState(name).initial() Description Mark this state as the initial state of the state machine Parameters None.