If: Difference between revisions
(Removed page from translation) |
No edit summary |
||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
[[Category:Logic]] | [[Category:Logic]] | ||
Line 17: | Line 19: | ||
==Related Blocks== | ==Related Blocks== | ||
*<code>[[If Else|if [_] else]]</code> | *<code>[[If Else|if [_] else]]</code> | ||
</translate> |
Revision as of 13:42, 13 July 2023
if [_]
is a code block part of the Logic drawer.
Usage
if [_]
takes in comparative statements from the Logic drawer to test for a condition. The agent will only follow commands attached to the hook if the statement is true.
Syntax
if [Insert: Condition]