-
Notifications
You must be signed in to change notification settings - Fork 0
cu_if_else en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Conditional: runs the "then" part when the condition is true, otherwise runs the "else" part.
| Slot | Type | Description |
|---|---|---|
| CONDITION | Boolean slot | the condition; fill with a boolean value |
| THEN | Statement slot | statements to run when true |
| ELSE | Statement slot | statements to run when false |
| Connection | Type | Description |
|---|---|---|
| Top | Statement | connects after a previous statement |
| Bottom | Statement | continues to the next statement |
if (<condition>) {
<then statements>
} else {
<else statements>
}
Block ID: cu_if_else