Acto State component

thanks for your reply but enums are reallly basic. I want functionality with states. I would like to have events when the transition starts or ends.