loop %var:EXPR% in %list:LIST% for %scope:EXPR% — Blocks

loop %var:EXPR% in %list:LIST% for %scope:EXPR%
List1.0.0

Description

Iterates over each element of a scoped global list for a specific scope reference.

Allowed Contexts

Root LevelInside Block

Block Variables

var
string
NullableNo

The current element in the list

Examples

loop item in todos for player:

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

loop <var> in <list> for <scope>

Related (List)