Determining Conditions
Your project may contain numerous conditions you can use to control the way your script works or interacts with the user. Although a condition can take many forms, at its core it represents a circumstance that is either true or false. Conditional statements look for common conditions like these:One object comes into contact with another objectSomething is on or offA movie clip's position, size, or other property is greater than, less than, or equal to another valueThe user has a specific interaction with the mouse or keyboardText or numeric values are greater than, less than, or equal to another valueAny combination of the conditions above