```
if (condition) {
// code to execute if condition is true
} else {
// code to execute if condition is false
}
```
For example, the following If/Else statement checks if the value of the variable "myNumber" is greater than 10. If it is, the statement prints "myNumber is greater than 10" to the Console panel. If it is not, the statement prints "myNumber is not greater than 10" to the Console panel.
```
var myNumber = 5;
if (myNumber > 10) {
console.println("myNumber is greater than 10");
} else {
console.println("myNumber is not greater than 10");
}
```
Here are some additional examples of If/Else statements that you can use in After Effects:
* Check if a layer is visible.
* Check if a property is animated.
* Check if a keyframe is selected.
* Check if a layer has a mask.
* Check if a layer is in a group.
The If/Else statement is a powerful tool that can be used to control the flow of your After Effects project. By using If/Else statements, you can create complex and interactive animations that are based on user input or other conditions.