onEnter

When entering this state, perform these actions if the condition is TRUE.