Skip to content
mouse114514 edited this page Sep 12, 2026 · 1 revision

If ... Then

If ... Then

Overview

Conditional: runs the inner statement sequence when the condition is true.

Slots

Slot Type Description
CONDITION Boolean slot the condition; fill with a boolean value (comparison, variable, etc.)
THEN Statement slot statements to run when true

Connections

Connection Type Description
Top Statement connects after a previous statement
Bottom Statement continues to the next statement

Generated Code

if (<condition>) {
    <statements>
}

Block ID: cu_if


中文 | Flow Control Blocks | Block Reference

Clone this wiki locally