This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
editor:blocks:condition:if [2017/12/24 05:49] interactive_games |
editor:blocks:condition:if [2017/12/26 08:53] (current) redwebgames |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== If ====== | ====== If ====== | ||
- | the (if) command is a very important block of code that allows modifying a variable when it is being compared by another variable. | + | 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. | 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. | ||
Line 19: | Line 19: | ||
You can compare any value | You can compare any value | ||
+ | {{ :editor:blocks:info-148099_960_720.png?20|}}//<color #ed1c24>MORE INFORMATION</color>// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | * [[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|]] |