Skip to content
mouse114514 edited this page Sep 12, 2026 · 6 revisions

Flow Control Blocks

流程控制积木 | Back to Block Reference 积木

Flow control blocks manage program execution flow like conditionals and loops.


Category Overview

Property Value
Block Count 5

Block List

Block Name Description
If...Then If...Then Conditional check, executes internal code when condition is met.
If...Then...Else If...Then...Else Conditional check with else branch.
Repeat...Times Repeat...Times Execute code a specified number of times.
While Loop While Loop Continuously loop while condition is met.
For Loop For Loop Loop from start value to end value.

Detailed Description

If...Then

If...Then

Conditional check, executes internal code when condition is met.

Block ID: cu_if


If...Then...Else

If...Then...Else

Conditional check with else branch.

Block ID: cu_if_else


Repeat...Times

Repeat...Times

Execute code a specified number of times.

Block ID: cu_repeat


While Loop

While Loop

Continuously loop while condition is met.

Block ID: cu_while


For Loop

For Loop

Loop from start value to end value.

Block ID: cu_for_loop


Clone this wiki locally