Complete the following steps to specify a state that can terminate a region.
![]() |
Note When the statechart enters a Terminal pseudostate that is at the top level of the statechart diagram, the entire statechart terminates. |
For example, consider the following figure:

Each Terminal pseudostate corresponds to a region. In the previous figure, notice that you can terminate Region 1 only when the statechart is in State 4. You can terminate the entire statechart only when the statechart is in State 1.
![]() |
Note The Initial pseudostate specifies the state that a region executes first. |