Active and inactive states

 A simple state, composite, and submachine can be active or inactive during execution. A state becomes active when it is entered as a result of a transition, and becomes inactive if it is exited as a result of a transition. A state can be exited and entered as a result of the same transition (referred to as self-transition). You can highlight the active state during simulation to make it easier to see.