====== If ====== The **If** command is a very important block of code that allows modifying a variable when it is being compared by another variable. You can compare a [[editor:blocks:variables:var|variable]] when it is not comparing, when it is comparing, when the value is passing and when the value is not being passed. ---- {{:editor:blocks:condition:screenshot_2017-12-22-10-46-40-1.png|}} ---- You can compare more than 2 things in the same command, for example, you can compare a value when comparing the variable and also when the variable is passing from the [[editor:blocks:variables:var|value]]. You can compare any value {{ :editor:blocks:info-148099_960_720.png?20|}}//MORE INFORMATION// ---- * [[editor:blocks:condition:else-if|]] * [[editor:blocks:condition:else|]] * [[editor:blocks:condition:if-button-pressed|]] * [[editor:blocks:condition:if-collision|]] * [[editor:blocks:condition:if-joy-pressed|]] * [[editor:blocks:condition:if-key|]] * [[editor:blocks:condition:if-mouse|]] * [[editor:blocks:condition:if-ray-hit|]]