Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

list

list<Item>(item, maxLength): ListCommandField<Item>

Up to maxLength values of one kind, such as a stroke’s points, list(vector3(), 64), or a hand of chosen cards, list(integer(0, 51), 5). A list of entities is entities, and a list of lists is none.

Type Parameter
Item extends ListItemField
Parameter Type
item Item
maxLength number

ListCommandField<Item>