A StateMachine describes the state based, event driven behavior of an ActorClass
Open the graphical diagram editor:
ALT+B
StateMachine ["Documentation"] { ... }