Skip to main content

repeat

Control Flow

Runs a command block a fixed number of times.

Parameters

Parameter Type Required Default Description
times number Yes Number of repetitions
do array Yes Commands inside the repeat block

Usage Example

RTILA X PROJECT JSON

    {
  "command": "repeat",
  "params": {
    "times": 3,
    "do": []
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?