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

Repeat ... Times

Repeat ... Times

Overview

Repeats the inner statements a given number of times.

Slots

Slot Type Description
TIMES Number slot number of repetitions
SUBSTACK Statement slot statements to repeat

Connections

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

Generated Code

Emits for (int _i = 0; _i < <times>; _i++) { ... }.

Example

repeat 3 times
└── play sound "hit"

Block ID: cu_repeat


中文 | Flow Control Blocks | Block Reference

Clone this wiki locally