Creating condition state

A condition state evaluates its conditions sequentially until a given condition is true. Then it fires the associated event to trigger the following state. Following picture is an example of condition state:

To create a condition state, you can drag and drop the Condition into canvas. Then set the properties in the Properties view.
General properties

Set the Name for the condition state.

Set the Default Event for the condition

A condition that is defined as a function returns either a value of true or a value of false.
Conditions
Add conditions for the condition state. A condition can be defined either as a function or as an expression.For information on how to create and define conditions, refer to the following sections.
Appearance
Set the appearance for the condition state