Conditional statements are used to compare or evaluate expressions and perform actions based on whether they evaluate as true or false.
Making an instance change direction upon collision with another instance
Basic AI for enemies such as shooting a projectile or moving
Play a sound effect in response to something happening
A level unlock system based on the player's score or when they collect
something
Fire a projectile or move in response ...